From 814fdd0b77fe93354094ced26e4a7251337017bb Mon Sep 17 00:00:00 2001 From: StopmotionSimonYT Date: Wed, 24 Aug 2022 22:03:39 +0200 Subject: [PATCH 1/2] Remove progressbar from home page --- GUI.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GUI.py b/GUI.py index 9d97a43..083663d 100644 --- a/GUI.py +++ b/GUI.py @@ -378,8 +378,7 @@ class App(customtkinter.CTk): justify=tkinter.LEFT) self.label_info_1.grid(column=0, row=0, sticky="nwe", padx=15, pady=15) - self.progressbar = customtkinter.CTkProgressBar(master=self.frame_info) - self.progressbar.grid(row=1, column=0, sticky="ew", padx=15, pady=15) + # Settings sync From ac7c73e29ce4a36b2fe73b767c1f02b8ebf52ced Mon Sep 17 00:00:00 2001 From: StopmotionSimonYT Date: Wed, 24 Aug 2022 22:09:43 +0200 Subject: [PATCH 2/2] Removes f before string --- GUI.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI.py b/GUI.py index 083663d..c27eba8 100644 --- a/GUI.py +++ b/GUI.py @@ -383,12 +383,12 @@ class App(customtkinter.CTk): # Settings sync # Check if config.toml exists if not generates a new config with default values - if not os.path.isfile(f"config.toml"): + if not os.path.isfile("config.toml"): print("Can't find config generating new config") open("config.toml", "w") - shutil.copyfile(f"utils/config.temp.toml", f"config.toml") + shutil.copyfile("utils/config.temp.toml", "config.toml") - config = toml.load(f"config.toml") # Loads config to be able to read and write + config = toml.load("config.toml") # Loads config to be able to read and write # Sync config settings to gui