summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/SimpleCrypter.py6
-rw-r--r--module/plugins/internal/SimpleHoster.py2
-rw-r--r--module/plugins/internal/XFSPHoster.py8
3 files changed, 8 insertions, 8 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):
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 51010d569..951a05783 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -241,7 +241,7 @@ class SimpleHoster(Hoster):
self.tempOffline()
elif status != 2:
self.logDebug(self.file_info)
- self.error('File info')
+ self.error("File info")
if name:
self.pyfile.name = name
diff --git a/module/plugins/internal/XFSPHoster.py b/module/plugins/internal/XFSPHoster.py
index 87a82beaf..fd39bed02 100644
--- a/module/plugins/internal/XFSPHoster.py
+++ b/module/plugins/internal/XFSPHoster.py
@@ -162,7 +162,7 @@ class XFSPHoster(SimpleHoster):
self.html = self.load(self.pyfile.url, post=self.getPostParameters())
m = re.search(self.LINK_PATTERN, self.html)
if m is None:
- self.error('LINK_PATTERN not found')
+ self.error("LINK_PATTERN not found")
self.startDownload(m.group(1))
@@ -183,7 +183,7 @@ class XFSPHoster(SimpleHoster):
action, inputs = self.parseHtmlForm('F1')
if not inputs:
- self.error('TEXTAREA not found')
+ self.error("TEXTAREA not found")
self.logDebug(self.HOSTER_NAME, inputs)
if inputs['st'] == 'OK':
self.html = self.load(action, post=inputs)
@@ -195,7 +195,7 @@ class XFSPHoster(SimpleHoster):
#get easybytez.com link for uploaded file
m = re.search(self.OVR_LINK_PATTERN, self.html)
if m is None:
- self.error('OVR_LINK_PATTERN not found')
+ self.error("OVR_LINK_PATTERN not found")
self.pyfile.url = m.group(1)
header = self.load(self.pyfile.url, just_header=True)
if 'location' in header: # Direct link
@@ -303,7 +303,7 @@ class XFSPHoster(SimpleHoster):
self.errmsg = None
else:
- self.error('FORM: %s' % (inputs['op'] if 'op' in inputs else 'UNKNOWN'))
+ self.error("FORM: %s" % (inputs['op'] if 'op' in inputs else 'UNKNOWN'))
def handleCaptcha(self, inputs):