diff options
author | 2015-06-15 21:06:10 +0200 | |
---|---|---|
committer | 2015-06-24 22:38:26 +0200 | |
commit | 5a139055ae658d3a05cbb658cbd66aeae0d01db5 (patch) | |
tree | b283d2f470fe2a4115474959e4982a59bc686067 /module/plugins/container/CCF.py | |
parent | Merge pull request #1537 from GammaC0de/patch-1 (diff) | |
download | pyload-5a139055ae658d3a05cbb658cbd66aeae0d01db5.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/container/CCF.py')
-rw-r--r-- | module/plugins/container/CCF.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/container/CCF.py b/module/plugins/container/CCF.py index 082786e2b..395f8c953 100644 --- a/module/plugins/container/CCF.py +++ b/module/plugins/container/CCF.py @@ -7,7 +7,7 @@ import re import urllib2 from module.plugins.internal.Container import Container -from module.utils import fs_encode, save_join +from module.utils import fs_encode, save_join as fs_join class CCF(Container): @@ -32,8 +32,8 @@ class CCF(Container): 'filename': "test.ccf", 'upload' : open(fs_filename, "rb")}).read() - download_folder = self.config['general']['download_folder'] - dlc_file = save_join(download_folder, "tmp_%s.dlc" % pyfile.name) + download_folder = self.core.config['general']['download_folder'] + dlc_file = fs_join(download_folder, "tmp_%s.dlc" % pyfile.name) try: dlc = re.search(r'<dlc>(.+)</dlc>', dlc_content, re.S).group(1).decode('base64') |