diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-05-04 00:36:23 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-05-04 00:36:23 +0200 |
commit | dc7c81b6ab0813745ee03116c27f870138b3fc7f (patch) | |
tree | cc0ff0cf287033c8677cfcef27772c0952df05e9 | |
parent | more verbose (diff) | |
download | pyload-dc7c81b6ab0813745ee03116c27f870138b3fc7f.tar.xz |
more verbose
-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 69dffbe73..6823729af 100644 --- a/module/plugins/hooks/AntiVirus.py +++ b/module/plugins/hooks/AntiVirus.py @@ -85,8 +85,8 @@ class AntiVirus(Hook): pyfile.setCustomStatus(_("file moving")) shutil.move(file, self.getConfig('quardir')) - except Exception: - self.logWarning(_("Unable to move file to trash, moving to quarantine instead")) + except Exception, e: + self.logWarning(_("Unable to move file to trash: %s, moving to quarantine instead") % e.message) pyfile.setCustomStatus(_("file moving")) shutil.move(file, self.getConfig('quardir')) |