Skip to content
Snippets Groups Projects
Commit 5b2e6ba7 authored by akiraohgaki's avatar akiraohgaki
Browse files

Fix attribute error

parent 815a7272
No related branches found
No related tags found
No related merge requests found
......@@ -393,10 +393,7 @@ def main():
try:
core.execute();
except Exception as e:
error_message = str(e)
if e.message:
error_message = e.message
message = execute_text + ' failed\n' + error_message
message = execute_text + ' failed\n' + str(e)
print(message)
if sys.version_info.major >= 3:
tkinter.messagebox.showerror(program, info_text + '\n\n' + message)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment