diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-03-07 21:06:53 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-03-07 21:06:53 +0100 |
commit | 696ae23db1192f919961685f4026bb917b15868d (patch) | |
tree | 46d39cbe118c84461a04302ffeb9953d27704552 /module/plugins/hooks/AntiVirus.py | |
parent | Spare code cosmetics (diff) | |
download | pyload-696ae23db1192f919961685f4026bb917b15868d.tar.xz |
[AntiVirus] Missed something big! :P
Diffstat (limited to 'module/plugins/hooks/AntiVirus.py')
-rw-r--r-- | module/plugins/hooks/AntiVirus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py index 5dbc640ee..695852683 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.03" + __version__ = "0.04" __config__ = [("action" , "Antivirus default;Delete;Quarantine", "Manage infected files" , "Antivirus default"), ("quardir" , "folder" , "Quarantine folder" , "" ), @@ -45,7 +45,7 @@ class AntiVirus(Hook): pyfile.setCustomStatus(_("virus scanning")) try: - p = subprocess.Popen([cmdfile, cmdargs], bufsize=-1, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + p = subprocess.Popen([cmdfile, cmdargs, file], bufsize=-1, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = map(str.strip, p.communicate()) |