summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NosuploadCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:11:29 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:17:03 +0200
commit4da90891eb2544ac15a7d512aba8cb357f68ee5f (patch)
tree84eec3f9f27a880df052da43fb3a6a8112b39c24 /module/plugins/hoster/NosuploadCom.py
parentFix and improve plugins logging (diff)
downloadpyload-4da90891eb2544ac15a7d512aba8cb357f68ee5f.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/NosuploadCom.py')
-rw-r--r--module/plugins/hoster/NosuploadCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/NosuploadCom.py b/module/plugins/hoster/NosuploadCom.py
index 19d851b0a..7416f82bc 100644
--- a/module/plugins/hoster/NosuploadCom.py
+++ b/module/plugins/hoster/NosuploadCom.py
@@ -31,7 +31,7 @@ class NosuploadCom(XFSPHoster):
# stage2: wait some time and press the "Download File" button
data = self.getPostParameters()
- wait_time = re.search(self.WAIT_PATTERN, self.html, re.MULTILINE | re.DOTALL).group(1)
+ wait_time = re.search(self.WAIT_PATTERN, self.html, re.M | re.S).group(1)
self.logDebug("Hoster told us to wait %s seconds" % wait_time)
self.wait(wait_time)
self.html = self.load(self.pyfile.url, post=data, ref=True, decode=True)