diff options
author | 2015-09-21 14:36:22 +0200 | |
---|---|---|
committer | 2015-09-21 14:36:22 +0200 | |
commit | f9fc367427e30b7a3ca2ccad6144cb76b21f0257 (patch) | |
tree | d35656dd6253edcfdd4d19efe1756c0fddacaf27 /module/plugins/hooks/IRCInterface.py | |
parent | Fix pyfile.name processing (diff) | |
download | pyload-f9fc367427e30b7a3ca2ccad6144cb76b21f0257.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/IRCInterface.py')
-rw-r--r-- | module/plugins/hooks/IRCInterface.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py index 5d8928a57..020939805 100644 --- a/module/plugins/hooks/IRCInterface.py +++ b/module/plugins/hooks/IRCInterface.py @@ -55,6 +55,7 @@ class IRCInterface(Thread, Addon): try: if self.get_config('info_pack'): self.response(_("Package finished: %s") % pypack.name) + except Exception: pass @@ -64,6 +65,7 @@ class IRCInterface(Thread, Addon): if self.get_config('info_file'): self.response( _("Download finished: %(name)s @ %(plugin)s ") % {'name': pyfile.name, 'plugin': pyfile.pluginname}) + except Exception: pass @@ -177,6 +179,7 @@ class IRCInterface(Thread, Addon): trigger = temp[0] if len(temp) > 1: args = temp[1:] + except Exception: pass @@ -185,6 +188,7 @@ class IRCInterface(Thread, Addon): res = handler(args) for line in res: self.response(line, msg['origin']) + except Exception, e: self.log_error(e) |