summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-02 15:46:46 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-02 15:46:46 +0100
commit8d1231901b3ccccdc2d3d2593c0baf4ff7be4220 (patch)
treeddb5c484c01d4fa890c7aa678280502d7f48da00 /module/plugins/crypter
parent[SimpleHoster] Fix _isDirectLink (diff)
downloadpyload-8d1231901b3ccccdc2d3d2593c0baf4ff7be4220.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/FilecryptCc.py2
-rw-r--r--module/plugins/crypter/RelinkUs.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py
index 726389ca1..af31dc743 100644
--- a/module/plugins/crypter/FilecryptCc.py
+++ b/module/plugins/crypter/FilecryptCc.py
@@ -74,7 +74,7 @@ class FilecryptCc(Crypter):
self.logInfo(_("Folder is password protected"))
password = self.getPassword()
-
+
if not password:
self.fail(_("Please enter the password in package section and try again"))
diff --git a/module/plugins/crypter/RelinkUs.py b/module/plugins/crypter/RelinkUs.py
index 5a3eca803..c5a3f1011 100644
--- a/module/plugins/crypter/RelinkUs.py
+++ b/module/plugins/crypter/RelinkUs.py
@@ -129,9 +129,9 @@ class RelinkUs(Crypter):
def unlockPasswordProtection(self):
password = self.getPassword()
-
+
self.logDebug("Submitting password [%s] for protected links" % password)
-
+
if password:
passwd_url = self.PASSWORD_SUBMIT_URL + "?id=%s" % self.fileid
passwd_data = {'id': self.fileid, 'password': password, 'pw': 'submit'}