mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2026-06-13 04:04:59 +03:00
Fix sys.path insertion to avoid duplicates
Correct the insertion of sys.path to prevent duplicates.
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ custom_websites = websites_str.split(', ') if websites_str else []
|
||||
|
||||
|
||||
|
||||
# Fix sys.path insertion to avoid duplicates
|
||||
logged_in_home = os.environ["logged_in_home"].strip('"')
|
||||
parent_folder = os.path.expanduser(f"{logged_in_home}/.config/systemd/user/Modules")
|
||||
|
||||
if parent_folder not in sys.path:
|
||||
|
||||
Reference in New Issue
Block a user