summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 23:36:10 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 23:36:10 +0200
commitbe40be8a5f9d09c42789ea7c0f39ec2c4c1b9392 (patch)
treec7ccdb50673f0e081fb76ac535afccddbddcc97c
parentMerge pull request #6 from ardi69/0.4.10 (diff)
parent[UnSkipOnFail] Typo (2) (diff)
downloadpyload-be40be8a5f9d09c42789ea7c0f39ec2c4c1b9392.tar.xz
Merge branch 'stable' into 0.4.10
Conflicts: 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,