diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-25 14:58:39 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-25 14:58:39 +0200 |
commit | 98e39b6ea49fdd37006d1c0283811c9d65feaf04 (patch) | |
tree | f9a01538f19ecc6f3ffae16c872d483daa9ad3a3 /module/plugins | |
parent | HTTPRequest: skip BOM if response is 'Microsoft-UTF8' encoded (diff) | |
download | pyload-98e39b6ea49fdd37006d1c0283811c9d65feaf04.tar.xz |
closed #410
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hooks/ExtractArchive.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py index eaa68b834..5bedc4293 100644 --- a/module/plugins/hooks/ExtractArchive.py +++ b/module/plugins/hooks/ExtractArchive.py @@ -95,6 +95,14 @@ class ExtractArchive(Hook): names.append(p) self.plugins.append(klass) + except OSError, e: + if e.errno == 2: + self.logInfo(_("No %s installed")) + else: + self.logWarning(_("Could not activate %s") % p, str(e)) + if self.core.debug: + print_exc() + except Exception, e: self.logWarning(_("Could not activate %s") % p, str(e)) if self.core.debug: |