summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/UnSkipOnFail.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/addon/UnSkipOnFail.py')
-rw-r--r--pyload/plugin/addon/UnSkipOnFail.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugin/addon/UnSkipOnFail.py b/pyload/plugin/addon/UnSkipOnFail.py
index 7fa9ef4e2..048547a1b 100644
--- a/pyload/plugin/addon/UnSkipOnFail.py
+++ b/pyload/plugin/addon/UnSkipOnFail.py
@@ -7,7 +7,7 @@ from pyload.plugin.Addon import Addon
class UnSkipOnFail(Addon):
__name = "UnSkipOnFail"
__type = "addon"
- __version = "0.06"
+ __version = "0.07"
__config = [("activated", "bool", "Activated", True)]
@@ -25,9 +25,9 @@ class UnSkipOnFail(Addon):
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,