diff options
Diffstat (limited to 'module/plugins/hoster/UlozTo.py')
| -rw-r--r-- | module/plugins/hoster/UlozTo.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/module/plugins/hoster/UlozTo.py b/module/plugins/hoster/UlozTo.py index a3da22fe4..53494afb7 100644 --- a/module/plugins/hoster/UlozTo.py +++ b/module/plugins/hoster/UlozTo.py @@ -62,7 +62,7 @@ class UlozTo(SimpleHoster):              self.logInfo("Adult content confirmation needed. Proceeding..")              found = re.search(self.TOKEN_PATTERN, self.html) -            if not found: +            if found is None:                  self.parseError('TOKEN')              token = found.group(1) @@ -133,7 +133,7 @@ class UlozTo(SimpleHoster):      def findDownloadURL(self, premium=False):          msg = "%s link" % ("Premium" if premium else "Free")          found = re.search(self.PREMIUM_URL_PATTERN if premium else self.FREE_URL_PATTERN, self.html) -        if not found: +        if found is None:              self.parseError(msg)          parsed_url = "http://www.ulozto.net" + found.group(1)          self.logDebug("%s: %s" % (msg, parsed_url)) | 
