From 570f37674434c7f3816e3949967c31407610da6c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 8 Oct 2015 06:32:02 +0200 Subject: Spare improvements --- module/plugins/hooks/AntiVirus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/plugins/hooks/AntiVirus.py') diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py index 536675a41..c68e86c77 100644 --- a/module/plugins/hooks/AntiVirus.py +++ b/module/plugins/hooks/AntiVirus.py @@ -21,7 +21,8 @@ class AntiVirus(Addon): __status__ = "testing" #@TODO: add trash option (use Send2Trash lib) - __config__ = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"), + __config__ = [("activated" , "bool" , "Activated" , False ), + ("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"), ("quardir" , "folder" , "Quarantine folder" , "" ), ("deltotrash", "bool" , "Move to trash instead delete", True ), ("scanfailed", "bool" , "Scan failed downloads" , False ), -- cgit v1.2.3