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""" ...@@ -93,8 +93,8 @@ Serves the contents of PATH with one of a number of methods"""
if e.errno == 13: if e.errno == 13:
self.error('Permission denied\n') self.error('Permission denied\n')
return 1 return 1
else: else:
self.error(e.strerror + '\n') self.error(str(e) + '\n')
return 1 return 1
def run(): 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