better path handeling
This commit is contained in:
parent
f0f8fc324c
commit
eb3c510f82
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
|
||||
|
Loading…
Reference in New Issue
Block a user