From 7f1467c64fe5c0e902498b3252afd65cb68ed2f9 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:17:38 +0200 Subject: Use wait to set time in SimpleHoster plugins Merges vuolter/pyload@bb002ac --- module/plugins/hoster/GooIm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'module/plugins/hoster/GooIm.py') diff --git a/module/plugins/hoster/GooIm.py b/module/plugins/hoster/GooIm.py index f0051b082..a412821f2 100644 --- a/module/plugins/hoster/GooIm.py +++ b/module/plugins/hoster/GooIm.py @@ -41,8 +41,7 @@ class GooIm(SimpleHoster): m = re.search(r'MD5sum: (?P[0-9a-z]{32})', self.html) if m: self.check_data = {"md5": m.group('MD5')} - self.setWait(10) - self.wait() + self.wait(10) header = self.load(self.pyfile.url, just_header=True) if header['location']: -- cgit v1.2.3