Commit d320e4c2 authored by Marco Govoni's avatar Marco Govoni
Browse files

Exception needed str

parent 3c39b2c5
...@@ -154,7 +154,7 @@ class Session(object): ...@@ -154,7 +154,7 @@ class Session(object):
with open(outputFile, "w") as file : with open(outputFile, "w") as file :
file.write(str(output_data)) file.write(str(output_data))
except Exception as e: except Exception as e:
print("Session Expired! Invalid Request sent, Please recreate session and recheck your input. \n"+ e) print("Session Expired! Invalid Request sent, Please recreate session and recheck your input. \n"+ str(e))
return None return None
else: else:
raise ValueError("Invalid executable name") raise ValueError("Invalid executable name")
......
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