summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/CCF.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 21:06:10 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:38:26 +0200
commit5a139055ae658d3a05cbb658cbd66aeae0d01db5 (patch)
treeb283d2f470fe2a4115474959e4982a59bc686067 /module/plugins/container/CCF.py
parentMerge pull request #1537 from GammaC0de/patch-1 (diff)
downloadpyload-5a139055ae658d3a05cbb658cbd66aeae0d01db5.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/container/CCF.py')
-rw-r--r--module/plugins/container/CCF.py6
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')