diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 21:22:24 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-16 21:22:24 +0200 |
commit | 3c75bb3ac5ecd27b147dd28b9185a080aa66a675 (patch) | |
tree | 11c63096e0ffe40429cf20c259d6b7fb2275a4ef | |
parent | [UpdateManager] Cleanup (diff) | |
download | pyload-3c75bb3ac5ecd27b147dd28b9185a080aa66a675.tar.xz |
[UnSkipOnFail] Typo (2)
-rw-r--r-- | module/plugins/hooks/UnSkipOnFail.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/UnSkipOnFail.py b/module/plugins/hooks/UnSkipOnFail.py index 6cd742c91..9059d0350 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.06" + __version__ = "0.07" __config__ = [("activated", "bool", "Activated", True)] @@ -32,9 +32,9 @@ class UnSkipOnFail(Hook): msg = _("Looking for skipped duplicates of: %s (pid:%s)") self.logInfo(msg % (pyfile.name, pyfile.package().id)) - dup = self.findDuplicate(pyfile) - if dup: - self.logInfo(_("Queue found duplicate: %s (pid:%s)") % (dup.name, dup.packageID)) + link = self.findDuplicate(pyfile) + if link: + self.logInfo(_("Queue found duplicate: %s (pid:%s)") % (link.name, link.packageID)) #: Change status of "link" to "new_status". # "link" has to be a valid FileData object, |