From ac7c73e29ce4a36b2fe73b767c1f02b8ebf52ced Mon Sep 17 00:00:00 2001 From: StopmotionSimonYT Date: Wed, 24 Aug 2022 22:09:43 +0200 Subject: [PATCH] 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