Commit 7bc530eb authored by Seth Vidal's avatar Seth Vidal

get rid of exception.message deprecated use

parent 5519d199
......@@ -43,7 +43,7 @@ def getFileList(path, ext, filelist):
try:
dir_list = os.listdir(path)
except OSError, e:
errorprint('Error accessing directory %s, %s' % (path, e.message))
errorprint('Error accessing directory %s, %s' % (path, str(e)))
return []
for d in dir_list:
......
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