diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-26 04:20:27 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-26 04:20:27 +0100 |
commit | 60c4c83ed84f5bf7f638f99d21e74af314935280 (patch) | |
tree | 6eda3e0ac046711c7b20098582e372da064032f1 /module/plugins/hooks/UnSkipOnFail.py | |
parent | [MultiHoster] Improve (diff) | |
download | pyload-60c4c83ed84f5bf7f638f99d21e74af314935280.tar.xz |
[UnSkipOnFail] Fixup
Diffstat (limited to 'module/plugins/hooks/UnSkipOnFail.py')
-rw-r--r-- | module/plugins/hooks/UnSkipOnFail.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/UnSkipOnFail.py b/module/plugins/hooks/UnSkipOnFail.py index 88557e831..1becb937a 100644 --- a/module/plugins/hooks/UnSkipOnFail.py +++ b/module/plugins/hooks/UnSkipOnFail.py @@ -7,7 +7,7 @@ from module.plugins.Hook import Hook class UnSkipOnFail(Hook): __name__ = "UnSkipOnFail" __type__ = "hook" - __version__ = "0.04" + __version__ = "0.05" __config__ = [("activated", "bool", "Activated", True)] @@ -62,7 +62,7 @@ class UnSkipOnFail(Hook): the data for "pyfile" iotselöf. It does MOT check the link's status. """ - queue = self.api.getQueue() #: get packages (w/o files, as most file data is useless here) + queue = self.core.api.getQueue() #: get packages (w/o files, as most file data is useless here) for package in queue: #: check if package-folder equals pyfile's package folder @@ -70,7 +70,7 @@ class UnSkipOnFail(Hook): continue #: now get packaged data w/ files/links - pdata = self.api.getPackageData(package.pid) + pdata = self.core.api.getPackageData(package.pid) for link in pdata.links: #: check if link is "skipped" if link.status != 4: |