summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 04:32:51 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 04:32:51 +0200
commitc5bd9e25f08248834aa6192b60ab968e95a10dc1 (patch)
tree6c65f1c8b7fb716e8c6b7c6f5b6f8bdfab9a6947
parent[RemixshareCom] Cleanup (diff)
downloadpyload-c5bd9e25f08248834aa6192b60ab968e95a10dc1.tar.xz
[AntiVirus][ExtractArchive] Fixup
-rw-r--r--module/plugins/hooks/AntiVirus.py4
-rw-r--r--module/plugins/hooks/ExtractArchive.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py
index 78f5aaa23..27e3801b5 100644
--- a/module/plugins/hooks/AntiVirus.py
+++ b/module/plugins/hooks/AntiVirus.py
@@ -11,7 +11,7 @@ from module.utils import fs_encode, save_join
class AntiVirus(Hook):
__name__ = "AntiVirus"
__type__ = "hook"
- __version__ = "0.06"
+ __version__ = "0.07"
#@TODO: add trash option (use Send2Trash lib)
__config__ = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"),
@@ -37,7 +37,7 @@ class AntiVirus(Hook):
import send2trash
except ImportError:
- self.logDebug(name, _("Send2Trash lib not found"))
+ self.logDebug("Send2Trash lib not found")
self.trashable = False
else:
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index b418f802f..9e6f2d379 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -106,7 +106,7 @@ class ArchiveQueue(object):
class ExtractArchive(Hook):
__name__ = "ExtractArchive"
__type__ = "hook"
- __version__ = "1.40"
+ __version__ = "1.41"
__config__ = [("activated" , "bool" , "Activated" , True ),
("fullpath" , "bool" , "Extract with full paths" , True ),
@@ -154,7 +154,7 @@ class ExtractArchive(Hook):
import send2trash
except ImportError:
- self.logDebug(name, _("Send2Trash lib not found"))
+ self.logDebug("Send2Trash lib not found")
self.trashable = False
else: