diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 17:48:30 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 18:06:38 +0200 |
commit | 6cdb1ae0fe8f4faf897220d0520ca3e753e9f3e4 (patch) | |
tree | 24a8d6e3c2e62597b6cd3a75b77bf1a6470bd702 /pyload/plugin/crypter/RelinkUs.py | |
parent | Fix lib import (diff) | |
download | pyload-6cdb1ae0fe8f4faf897220d0520ca3e753e9f3e4.tar.xz |
[config] Use get method instead dict access
Diffstat (limited to 'pyload/plugin/crypter/RelinkUs.py')
-rw-r--r-- | pyload/plugin/crypter/RelinkUs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/crypter/RelinkUs.py b/pyload/plugin/crypter/RelinkUs.py index e7fb7ed06..6296e9f40 100644 --- a/pyload/plugin/crypter/RelinkUs.py +++ b/pyload/plugin/crypter/RelinkUs.py @@ -219,7 +219,7 @@ class RelinkUs(Crypter): try: dlc = self.load(container_url) dlc_filename = self.fileid + ".dlc" - dlc_filepath = fs_join(self.config['general']['download_folder'], dlc_filename) + dlc_filepath = fs_join(self.config.get("general", "download_folder"), dlc_filename) with open(dlc_filepath, "wb") as f: f.write(dlc) package_links.append(dlc_filepath) |