aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r--wqflask/utility/tools.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 51189fa3..b8eff12a 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -1,4 +1,3 @@
-
# Tools/paths finder resolves external paths from settings and/or environment
# variables
@@ -105,9 +104,9 @@ def locate(name, subdir=None):
print("Found: file "+lookfor+"\n")
return lookfor
else:
- raise IOError("Can not locate "+lookfor)
+ raise Exception("Can not locate "+lookfor)
if subdir: sys.stderr.write(subdir)
- raise IOError("Can not locate "+name+" in "+base)
+ raise Exception("Can not locate "+name+" in "+base)
def locate_ignore_error(name, subdir=None):
"""