diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:21:50 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:21:50 +0200 |
commit | 486adc1874e463b1563ad2394b216faff388b10d (patch) | |
tree | 58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/addon/AntiVirus.py | |
parent | Fix https://github.com/pyload/pyload/issues/1349 (diff) | |
download | pyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz |
Prepare plugins to merging from stable
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 ef0cda79e..619893735 100644 --- a/pyload/plugin/addon/AntiVirus.py +++ b/pyload/plugin/addon/AntiVirus.py @@ -9,21 +9,21 @@ from pyload.utils import fs_encode, fs_join class AntiVirus(Addon): - __name = "AntiVirus" - __type = "addon" - __version = "0.05" + __name__ = "AntiVirus" + __type__ = "addon" + __version__ = "0.05" #@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" , "" ), ("scanfailed", "bool" , "Scan incompleted files (failed downloads)", False ), ("cmdfile" , "file" , "Antivirus executable" , "" ), ("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")] @Expose |