Removes f before string

pull/1207/head
StopmotionSimonYT 3 years ago
parent 814fdd0b77
commit ac7c73e29c

@ -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

Loading…
Cancel
Save