summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter')
-rw-r--r--pyload/plugins/crypter/CCF.py4
-rw-r--r--pyload/plugins/crypter/RSDF.py3
2 files changed, 3 insertions, 4 deletions
diff --git a/pyload/plugins/crypter/CCF.py b/pyload/plugins/crypter/CCF.py
index 0badf8e06..f2b33561e 100644
--- a/pyload/plugins/crypter/CCF.py
+++ b/pyload/plugins/crypter/CCF.py
@@ -19,7 +19,7 @@ class CCF(Crypter):
__author_mail__ = "Willnix@pyload.org"
def decrypt(self, pyfile):
-
+
infile = pyfile.url.replace("\n", "")
opener = build_opener(MultipartPostHandler)
@@ -32,7 +32,7 @@ class CCF(Crypter):
location = download_folder #join(download_folder, self.pyfile.package().folder.decode(sys.getfilesystemencoding()))
if not exists(location):
makedirs(location)
-
+
tempdlc_name = join(location, "tmp_%s.dlc" % pyfile.name)
tempdlc = open(tempdlc_name, "w")
tempdlc.write(re.search(r'<dlc>(.*)</dlc>', tempdlc_content, re.DOTALL).group(1))
diff --git a/pyload/plugins/crypter/RSDF.py b/pyload/plugins/crypter/RSDF.py
index 46de56d8f..6440585bc 100644
--- a/pyload/plugins/crypter/RSDF.py
+++ b/pyload/plugins/crypter/RSDF.py
@@ -15,9 +15,8 @@ class RSDF(Crypter):
__author_name__ = ("RaNaN", "spoob")
__author_mail__ = ("RaNaN@pyload.org", "spoob@pyload.org")
-
def decrypt(self, pyfile):
-
+
from Crypto.Cipher import AES
infile = pyfile.url.replace("\n", "")