diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 16:58:32 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 16:58:32 +0200 |
commit | 26bc06d1422146e73025f84b073b8854660fba69 (patch) | |
tree | e804c4cd6064e49ab910ef976089c7cf12cbaef2 | |
parent | Improve Setup a bit (diff) | |
download | pyload-26bc06d1422146e73025f84b073b8854660fba69.tar.xz |
Fix except
-rwxr-xr-x | pyload/Core.py | 2 | ||||
-rw-r--r-- | pyload/webui/middlewares.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyload/Core.py b/pyload/Core.py index 0cc10df6e..d3e23309a 100755 --- a/pyload/Core.py +++ b/pyload/Core.py @@ -538,7 +538,7 @@ class Core(object): for i in range(3, 50): try: close(i) - except : + except Exception: pass execl(executable, executable, *sys.argv) diff --git a/pyload/webui/middlewares.py b/pyload/webui/middlewares.py index 5f56f81ee..19328f9ef 100644 --- a/pyload/webui/middlewares.py +++ b/pyload/webui/middlewares.py @@ -124,7 +124,7 @@ class GzipResponse(object): if hasattr(app_iter, 'close'): try: app_iter.close() - except : + except Exception: pass content_length = self.buffer.tell() |