diff --git a/main.py b/main.py index 7d073cc..d5e32f4 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,7 @@ def menu_file_open_project_click(): title="Open font project", filetypes=[("Font project (json)", "*.fontproj")] ) - if file_path == "": + if file_path == "" or file_path==(): return # save last path to cache @@ -58,7 +58,7 @@ def menu_file_save_project_click(): filetypes=[("Font project (json)", "*.fontproj")], defaultextension=".fontproj" ) - if path=="": + if path=="" or file_path==(): return try: