mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-07-22 18:36:38 +02:00
better path handeling
This commit is contained in:
2
V4.py
2
V4.py
@ -72,7 +72,7 @@ if IsLinux:
|
||||
else:
|
||||
system("") # enable colors in cmd
|
||||
|
||||
config_path = "/home/pi/MsReward/config"
|
||||
config_path = f"{os.path.abspath( os.path.dirname( __file__ ) )}/config"
|
||||
config = configparser.ConfigParser()
|
||||
config.read(config_path)
|
||||
#path comfigurations
|
||||
|
Reference in New Issue
Block a user