summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/CCF.py
diff options
context:
space:
mode:
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 452b9bb65..79d7879a7 100644
--- a/module/plugins/container/CCF.py
+++ b/module/plugins/container/CCF.py
@@ -26,13 +26,13 @@ class CCF(Container):
def decrypt(self, pyfile):
- file = fs_encode(pyfile.url.strip())
- opener = build_opener(MultipartPostHandler)
+ fs_filename = fs_encode(pyfile.url.strip())
+ opener = build_opener(MultipartPostHandler)
dlc_content = opener.open('http://service.jdownloader.net/dlcrypt/getDLC.php',
{'src' : "ccf",
'filename': "test.ccf",
- 'upload' : open(file, "rb")}).read()
+ 'upload' : open(fs_filename, "rb")}).read()
download_folder = self.config['general']['download_folder']
dlc_file = save_join(download_folder, "tmp_%s.dlc" % pyfile.name)