diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 02:53:05 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 02:53:05 +0200 |
commit | e3f5280529921100f48bb8a79853bf480c7611e4 (patch) | |
tree | f1005d656b123b1b7c5ffb9e4ef1e39c7fa4460e /module/plugins/hoster/MegasharesCom.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-e3f5280529921100f48bb8a79853bf480c7611e4.tar.xz |
Replace single quotes with doubles in self.error and self.fail msg
Diffstat (limited to 'module/plugins/hoster/MegasharesCom.py')
-rw-r--r-- | module/plugins/hoster/MegasharesCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/MegasharesCom.py b/module/plugins/hoster/MegasharesCom.py index e674ae7fa..c41e8b9e2 100644 --- a/module/plugins/hoster/MegasharesCom.py +++ b/module/plugins/hoster/MegasharesCom.py @@ -83,7 +83,7 @@ class MegasharesCom(SimpleHoster): # Check traffic left on passport m = re.search(self.PASSPORT_LEFT_PATTERN, self.html, re.M | re.S) if m is None: - self.fail('Passport not found') + self.fail("Passport not found") self.logInfo("Download passport: %s" % m.group(1)) data_left = float(m.group(2)) * 1024 ** {'B': 0, 'KB': 1, 'MB': 2, 'GB': 3}[m.group(3)] |