diff options
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hooks/Ev0InFetcher.py | 2 | ||||
| -rw-r--r-- | module/web/cnl_app.py | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/Ev0InFetcher.py b/module/plugins/hooks/Ev0InFetcher.py index c7191cd4e..bcd53722c 100644 --- a/module/plugins/hooks/Ev0InFetcher.py +++ b/module/plugins/hooks/Ev0InFetcher.py @@ -75,7 +75,7 @@ class Ev0InFetcher(Hook, PluginStorage):                      links = self.filterLinks(item['description'].split("<br />"))                      packagename = item['title'].encode("utf-8")                      self.core.log.info("Ev0InFetcher: new episode '%s' (matched '%s')" % (packagename, show)) -                    self.core.api.addPackage(packagename, links, queue=(1 if self.getConfig("queue") else 0)) +                    self.core.api.addPackage(packagename, links, 1 if self.getConfig("queue") else 0)                      self.setStorage("show_%s_lastfound" % show, int(mktime(item.date_parsed)))                      found = True          if not found: diff --git a/module/web/cnl_app.py b/module/web/cnl_app.py index 23bc67bf6..22be426de 100644 --- a/module/web/cnl_app.py +++ b/module/web/cnl_app.py @@ -39,7 +39,7 @@ def add(request):      package = request.POST.get('referer', 'ClickAndLoad Package')      urls = filter(lambda x: x != "", request.POST['urls'].split("\n")) -    PYLOAD.add_package(package, urls, False) +    PYLOAD.addPackage(package, urls, 0)      return "" @@ -56,7 +56,7 @@ def addcrypted():      dlc_file.close()      try: -        PYLOAD.add_package(package, [dlc_path], False) +        PYLOAD.addPackage(package, [dlc_path], 0)      except:          return HTTPError()      else:  | 
