summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CzshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 22:14:53 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 22:14:53 +0200
commitff91b58bf9ee65aaeb048426295af6ad122b119e (patch)
tree1518b797739524427ec0c60551c13300feec3a93 /module/plugins/hoster/CzshareCom.py
parent[SimpleHoster] Added default handle patterns LINK_FREE_PATTERN and LINK_PREMI... (diff)
downloadpyload-ff91b58bf9ee65aaeb048426295af6ad122b119e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/CzshareCom.py')
-rw-r--r--module/plugins/hoster/CzshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/CzshareCom.py b/module/plugins/hoster/CzshareCom.py
index df8cfea9e..f7fb119ac 100644
--- a/module/plugins/hoster/CzshareCom.py
+++ b/module/plugins/hoster/CzshareCom.py
@@ -128,13 +128,13 @@ class CzshareCom(SimpleHoster):
def checkDownloadedFile(self):
# check download
check = self.checkDownload({
- "tempoffline": re.compile(r"^Soubor je do.*asn.* nedostupn.*$"),
+ "temp_offline": re.compile(r"^Soubor je do.*asn.* nedostupn.*$"),
"credit": re.compile(r"^Nem.*te dostate.*n.* kredit.$"),
"multi_dl": re.compile(self.MULTIDL_PATTERN),
"captcha_err": "<li>Zadaný ověřovací kód nesouhlasí!</li>"
})
- if check == "tempoffline":
+ if check == "temp_offline":
self.fail("File not available - try later")
if check == "credit":
self.resetAccount()