diff --git a/main.py b/main.py index 6724c28..f1d8600 100644 --- a/main.py +++ b/main.py @@ -63,13 +63,7 @@ def set_configuration_value(key, value, save_to_disk=True): config_file.write(json.dumps(configuration)) config_file.close() except: - warn("Failed to save config file.", is_exception=True) - dialog = tk.Tk() - dialog.title("Failed to save config file") - ttk.Label(dialog, text="Failed to save the configuration file.").pack() - ttk.Button(dialog, text="Continue", command=dialog.destroy).pack() - dialog.resizable(0,0) - dialog.mainloop() + error("Failed to save config file.") # easy way to get data out of window events class Window_Interaction_Handler: