diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:29:55 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 10:29:55 +0200 |
commit | d60040cdc406b0541f0b3f9681a09894f845ba2b (patch) | |
tree | 69be3f4730c9ef4cf9f98f5b9ae17157a88abc85 /pyload/plugin/addon/AntiVirus.py | |
parent | Cleanup + fixup + new lib (diff) | |
download | pyload-d60040cdc406b0541f0b3f9681a09894f845ba2b.tar.xz |
Diffstat (limited to 'pyload/plugin/addon/AntiVirus.py')
-rw-r--r-- | pyload/plugin/addon/AntiVirus.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugin/addon/AntiVirus.py b/pyload/plugin/addon/AntiVirus.py index 6fae3b532..3866014ee 100644 --- a/pyload/plugin/addon/AntiVirus.py +++ b/pyload/plugin/addon/AntiVirus.py @@ -9,12 +9,12 @@ from pyload.utils import fs_encode, fs_join class AntiVirus(Addon): - __name__ = "AntiVirus" - __type__ = "addon" - __version__ = "0.07" + __name = "AntiVirus" + __type = "addon" + __version = "0.07" #@TODO: add trash option (use Send2Trash lib) - __config__ = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"), + __config = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"), ("quardir" , "folder" , "Quarantine folder" , "" ), ("deltotrash", "bool" , "Move to trash (recycle bin) instead delete", True ), ("scanfailed", "bool" , "Scan incompleted files (failed downloads)" , False ), @@ -22,9 +22,9 @@ class AntiVirus(Addon): ("cmdargs" , "str" , "Scan options" , "" ), ("ignore-err", "bool" , "Ignore scan errors" , False )] - __description__ = """Scan downloaded files with antivirus program""" - __license__ = "GPLv3" - __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + __description = """Scan downloaded files with antivirus program""" + __license = "GPLv3" + __authors = [("Walter Purcaro", "vuolter@gmail.com")] def setup(self): |