summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/RSDF.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-31 22:00:59 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-31 22:00:59 +0100
commit79725268402043906f619f7c09e848e02ab8a17b (patch)
tree5288f422b5f33005a19a0de2ddb53fecb99f3a21 /module/plugins/container/RSDF.py
parent[JustPremium] Rewritten (diff)
downloadpyload-79725268402043906f619f7c09e848e02ab8a17b.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/container/RSDF.py')
-rw-r--r--module/plugins/container/RSDF.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/container/RSDF.py b/module/plugins/container/RSDF.py
index 20a0d34cd..06b3c3b2b 100644
--- a/module/plugins/container/RSDF.py
+++ b/module/plugins/container/RSDF.py
@@ -2,7 +2,6 @@
from __future__ import with_statement
-import base64
import binascii
import re
@@ -49,6 +48,6 @@ class RSDF(Container):
for link in binascii.unhexlify(''.join(data.split())).splitlines():
if not link:
- link = obj.decrypt(base64.b64decode(link))
+ link = obj.decrypt(link.decode('base64'))
decryptedUrl = link.replace('CCF: ', '')
self.urls.append(decryptedUrl)