summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExternalScripts.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-13 23:14:50 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-13 23:14:50 +0100
commite1baccf1ec914563d3b2b845906cce024e7cd3b1 (patch)
tree7113e8923ea58112787ce93d5ab9d98e277926c9 /module/plugins/hooks/ExternalScripts.py
parent[SimpleCrypter] Better account retrieving (diff)
downloadpyload-e1baccf1ec914563d3b2b845906cce024e7cd3b1.tar.xz
Replace 'except' with 'except Exception'
Diffstat (limited to 'module/plugins/hooks/ExternalScripts.py')
-rw-r--r--module/plugins/hooks/ExternalScripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index fc0cae44f..f4d2cb69c 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -59,7 +59,7 @@ class ExternalScripts(Hook):
if not exists(path):
try:
makedirs(path)
- except:
+ except Exception:
self.logDebug("Script folder %s not created" % folder)
return