Commit 19509ddc by willmcgugan

Fixed bug reporting error message

parent b321cc7c
......@@ -93,8 +93,8 @@ Serves the contents of PATH with one of a number of methods"""
if e.errno == 13:
self.error('Permission denied\n')
return 1
else:
self.error(e.strerror + '\n')
else:
self.error(str(e) + '\n')
return 1
def run():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment