summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:16:14 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:16:14 +0200
commit12485652a14c55e102e5d073f4bf9518f5cf5f85 (patch)
treef299ee7b7b8cecfa6b0e229b17d39b3eb892af1d
parentFix __config__ (diff)
downloadpyload-12485652a14c55e102e5d073f4bf9518f5cf5f85.tar.xz
Fix EOF
Merges vuolter/pyload@00052b2
-rw-r--r--module/plugins/Container.py2
-rw-r--r--module/plugins/Crypter.py1
-rw-r--r--module/plugins/Hook.py2
-rw-r--r--module/plugins/PluginManager.py1
-rw-r--r--module/plugins/ReCaptcha.py1
-rw-r--r--module/plugins/accounts/FastshareCz.py2
-rw-r--r--module/plugins/accounts/MultishareCz.py2
-rw-r--r--module/plugins/captcha/captcha.py1
-rw-r--r--module/plugins/container/CCF.py1
-rw-r--r--module/plugins/container/RSDF.py2
-rw-r--r--module/plugins/crypter/CrockoComFolder.py2
-rw-r--r--module/plugins/crypter/CzshareComFolder.py2
-rw-r--r--module/plugins/crypter/FilebeerInfoFolder.py1
-rw-r--r--module/plugins/crypter/QuickshareCzFolder.py2
-rw-r--r--module/plugins/hooks/WindowsPhoneToastNotify.py1
-rw-r--r--module/plugins/hoster/DataportCz.py2
-rw-r--r--module/plugins/hoster/OneFichierCom.py2
-rw-r--r--module/plugins/hoster/Premium4Me.py2
-rw-r--r--module/plugins/hoster/ShareRapidCom.py2
-rw-r--r--module/plugins/hoster/StreamCz.py2
20 files changed, 12 insertions, 21 deletions
diff --git a/module/plugins/Container.py b/module/plugins/Container.py
index af61e66af..fe6e04ca4 100644
--- a/module/plugins/Container.py
+++ b/module/plugins/Container.py
@@ -71,5 +71,3 @@ class Container(Crypter):
def deleteTmp(self):
if self.pyfile.name.startswith("tmp_"):
remove(self.pyfile.url)
-
-
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py
index 45ff66503..69f4918dc 100644
--- a/module/plugins/Crypter.py
+++ b/module/plugins/Crypter.py
@@ -69,4 +69,3 @@ class Crypter(Plugin):
if self.urls:
self.core.api.generateAndAddPackages(self.urls)
-
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 03f72da75..9858a0858 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -158,4 +158,4 @@ class Hook(Base):
pass
def captchaInvalid(self, task):
- pass \ No newline at end of file
+ pass
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 7fef76b27..6660ea302 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -377,4 +377,3 @@ if __name__ == "__main__":
b = time()
print b - a, "s"
-
diff --git a/module/plugins/ReCaptcha.py b/module/plugins/ReCaptcha.py
index 6f7ebe22c..e8b86195a 100644
--- a/module/plugins/ReCaptcha.py
+++ b/module/plugins/ReCaptcha.py
@@ -18,4 +18,3 @@ class ReCaptcha():
def result(self, server, challenge):
return self.plugin.decryptCaptcha("%simage"%server, get={"c":challenge}, cookies=True, imgtype="jpg")
-
diff --git a/module/plugins/accounts/FastshareCz.py b/module/plugins/accounts/FastshareCz.py
index 44c4215ac..9b9173315 100644
--- a/module/plugins/accounts/FastshareCz.py
+++ b/module/plugins/accounts/FastshareCz.py
@@ -53,4 +53,4 @@ class FastshareCz(Account):
}, decode=True)
if u'>Špatné uživatelské jméno nebo heslo.<' in html:
- self.wrongPassword() \ No newline at end of file
+ self.wrongPassword()
diff --git a/module/plugins/accounts/MultishareCz.py b/module/plugins/accounts/MultishareCz.py
index f10f89fe5..505b57752 100644
--- a/module/plugins/accounts/MultishareCz.py
+++ b/module/plugins/accounts/MultishareCz.py
@@ -56,4 +56,4 @@ class MultishareCz(Account):
}, decode=True)
if '<div class="akce-chyba akce">' in html:
- self.wrongPassword() \ No newline at end of file
+ self.wrongPassword()
diff --git a/module/plugins/captcha/captcha.py b/module/plugins/captcha/captcha.py
index bbd871b71..66f093e40 100644
--- a/module/plugins/captcha/captcha.py
+++ b/module/plugins/captcha/captcha.py
@@ -312,4 +312,3 @@ if __name__ == '__main__':
ocr.run_tesser()
print "Tesseract", ocr.result_captcha
ocr.image.save("derotated.jpg")
-
diff --git a/module/plugins/container/CCF.py b/module/plugins/container/CCF.py
index dabf7fc98..eb5bacab3 100644
--- a/module/plugins/container/CCF.py
+++ b/module/plugins/container/CCF.py
@@ -39,4 +39,3 @@ class CCF(Container):
tempdlc.close()
self.packages.append((tempdlc_name, [tempdlc_name], tempdlc_name))
-
diff --git a/module/plugins/container/RSDF.py b/module/plugins/container/RSDF.py
index bde22c0df..136024fa3 100644
--- a/module/plugins/container/RSDF.py
+++ b/module/plugins/container/RSDF.py
@@ -46,4 +46,4 @@ class RSDF(Container):
links.append(decryptedUrl)
self.log.debug("%s: adding package %s with %d links" % (self.__name__,pyfile.package().name,len(links)))
- self.packages.append((pyfile.package().name, links))
+ self.packages.append((pyfile.package().name, links))
diff --git a/module/plugins/crypter/CrockoComFolder.py b/module/plugins/crypter/CrockoComFolder.py
index 2b3b4af3c..f6778bb6f 100644
--- a/module/plugins/crypter/CrockoComFolder.py
+++ b/module/plugins/crypter/CrockoComFolder.py
@@ -12,4 +12,4 @@ class CrockoComFolder(SimpleCrypter):
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
- LINK_PATTERN = r'<td class="last"><a href="([^"]+)">download</a>' \ No newline at end of file
+ LINK_PATTERN = r'<td class="last"><a href="([^"]+)">download</a>'
diff --git a/module/plugins/crypter/CzshareComFolder.py b/module/plugins/crypter/CzshareComFolder.py
index b908efc42..7cddcae6d 100644
--- a/module/plugins/crypter/CzshareComFolder.py
+++ b/module/plugins/crypter/CzshareComFolder.py
@@ -28,4 +28,4 @@ class CzshareComFolder(Crypter):
if new_links:
self.core.files.addLinks(new_links, self.pyfile.package().id)
else:
- self.fail('Could not extract any links') \ No newline at end of file
+ self.fail('Could not extract any links')
diff --git a/module/plugins/crypter/FilebeerInfoFolder.py b/module/plugins/crypter/FilebeerInfoFolder.py
index 8a8dbd8ed..aaedf6eef 100644
--- a/module/plugins/crypter/FilebeerInfoFolder.py
+++ b/module/plugins/crypter/FilebeerInfoFolder.py
@@ -11,4 +11,3 @@ class FilebeerInfoFolder(DeadCrypter):
__description__ = """Filebeer.info folder decrypter plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
-
diff --git a/module/plugins/crypter/QuickshareCzFolder.py b/module/plugins/crypter/QuickshareCzFolder.py
index c24034e8f..887d9c154 100644
--- a/module/plugins/crypter/QuickshareCzFolder.py
+++ b/module/plugins/crypter/QuickshareCzFolder.py
@@ -28,4 +28,4 @@ class QuickshareCzFolder(Crypter):
if new_links:
self.core.files.addLinks(new_links, self.pyfile.package().id)
else:
- self.fail('Could not extract any links') \ No newline at end of file
+ self.fail('Could not extract any links')
diff --git a/module/plugins/hooks/WindowsPhoneToastNotify.py b/module/plugins/hooks/WindowsPhoneToastNotify.py
index d90b95f79..a769d0c5e 100644
--- a/module/plugins/hooks/WindowsPhoneToastNotify.py
+++ b/module/plugins/hooks/WindowsPhoneToastNotify.py
@@ -65,4 +65,3 @@ class WindowsPhoneToastNotify(Hook):
return False
self.doRequest()
-
diff --git a/module/plugins/hoster/DataportCz.py b/module/plugins/hoster/DataportCz.py
index 58ac39c73..ebd5d13a8 100644
--- a/module/plugins/hoster/DataportCz.py
+++ b/module/plugins/hoster/DataportCz.py
@@ -66,4 +66,4 @@ class DataportCz(SimpleHoster):
break
-create_getInfo(DataportCz) \ No newline at end of file
+create_getInfo(DataportCz)
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index d358b9714..5b69db63d 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -77,4 +77,4 @@ class OneFichierCom(SimpleHoster):
self.multiDL = self.premium
self.resumeDownload = True
-getInfo = create_getInfo(OneFichierCom)
+getInfo = create_getInfo(OneFichierCom)
diff --git a/module/plugins/hoster/Premium4Me.py b/module/plugins/hoster/Premium4Me.py
index d6c154693..8709aac82 100644
--- a/module/plugins/hoster/Premium4Me.py
+++ b/module/plugins/hoster/Premium4Me.py
@@ -68,4 +68,4 @@ class Premium4Me(Hoster):
traffic = int(self.load("http://premium.to/api/traffic.php?authcode=%s" % self.account.authcode))
except:
traffic = 0
- return traffic
+ return traffic
diff --git a/module/plugins/hoster/ShareRapidCom.py b/module/plugins/hoster/ShareRapidCom.py
index b14892a8f..7f1709865 100644
--- a/module/plugins/hoster/ShareRapidCom.py
+++ b/module/plugins/hoster/ShareRapidCom.py
@@ -68,4 +68,4 @@ class ShareRapidCom(SimpleHoster):
elif re.search(self.ERR_CREDIT_PATTERN, self.html):
self.fail("Not enough credit left")
else:
- self.fail("Download link not found")
+ self.fail("Download link not found")
diff --git a/module/plugins/hoster/StreamCz.py b/module/plugins/hoster/StreamCz.py
index 79d9740ef..93627823e 100644
--- a/module/plugins/hoster/StreamCz.py
+++ b/module/plugins/hoster/StreamCz.py
@@ -78,4 +78,4 @@ class StreamCz(Hoster):
download_url = "http://cdn-dispatcher.stream.cz/?id=" + cdnid
self.logInfo("STREAM (%s): %s" % (cdnkey[-2:], download_url))
- self.download(download_url)
+ self.download(download_url)