From ba14e409e1b402beac3af291501ce9663b380c95 Mon Sep 17 00:00:00 2001 From: Lx32 Date: Mon, 15 Jan 2024 17:59:25 +0100 Subject: [PATCH] Fix syntax error --- functions/steam-sync/steam-sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/steam-sync/steam-sync.py b/functions/steam-sync/steam-sync.py index b321549f..6c889fd0 100644 --- a/functions/steam-sync/steam-sync.py +++ b/functions/steam-sync/steam-sync.py @@ -348,10 +348,10 @@ def addToSteam(): boilr_path=os.path.expanduser("~/.var/app/net.retrodeck.retrodeck/config/boilr/config.toml") if os.path.isfile(boilr_path): - with open("boilr_path","r") as f: + with open(boilr_path,"r") as f: data=f.read() data=re.sub("games_folder.*","games_folder = "+rdhome+"/sync/",data) - with open("boilr_path","w") as f: + with open(boilr_path,"w") as f: f.write(data) else: print("Error! BoilR config not initialized.")