Commit 84082ac6 authored by Miquel Torres's avatar Miquel Torres
Browse files

Fix exception handling for Python3

parent 76132b9c
......@@ -117,6 +117,6 @@ if __name__ == "__main__":
try:
save_to_speedcenter(**kwargs)
sys.exit(0)
except StandardError, e:
except StandardError as e:
logging.error("Error saving results: %s", e)
sys.exit(1)
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