summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleCrypter.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 02:53:05 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 02:53:05 +0200
commite3f5280529921100f48bb8a79853bf480c7611e4 (patch)
treef1005d656b123b1b7c5ffb9e4ef1e39c7fa4460e /module/plugins/internal/SimpleCrypter.py
parentSpare code cosmetics (diff)
downloadpyload-e3f5280529921100f48bb8a79853bf480c7611e4.tar.xz
Replace single quotes with doubles in self.error and self.fail msg
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r--module/plugins/internal/SimpleCrypter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index 402a641ea..3cbb0f70a 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -83,10 +83,10 @@ class SimpleCrypter(Crypter):
def prepare(self):
if self.LOGIN_ACCOUNT and not self.account:
- self.fail('Required account not found!')
+ self.fail("Required account not found!")
if self.LOGIN_PREMIUM and not self.premium:
- self.fail('Required premium account not found!')
+ self.fail("Required premium account not found!")
if isinstance(self.COOKIES, list):
set_cookies(self.req.cj, self.COOKIES)
@@ -112,7 +112,7 @@ class SimpleCrypter(Crypter):
if self.package_links:
self.packages = [(package_name, self.package_links, folder_name)]
else:
- self.fail('Could not extract any links')
+ self.fail("Could not extract any links")
def getLinks(self):