rename
This commit is contained in:
parent
65f2705726
commit
677b80f521
2
V4.py
2
V4.py
|
@ -75,7 +75,7 @@ else:
|
||||||
system("") # enable colors in windows cmd
|
system("") # enable colors in windows cmd
|
||||||
|
|
||||||
#reading configuration
|
#reading configuration
|
||||||
config_path = f"{path.abspath( path.dirname( __file__ ) )}/config"
|
config_path = f"{path.abspath( path.dirname( __file__ ) )}/config.cfg"
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read(config_path)
|
config.read(config_path)
|
||||||
|
|
||||||
|
|
2
main.py
2
main.py
|
@ -3,7 +3,7 @@
|
||||||
import configparser
|
import configparser
|
||||||
import os
|
import os
|
||||||
print
|
print
|
||||||
config_path = f"{os.path.abspath( os.path.dirname( __file__ ) )}/config"
|
config_path = f"{os.path.abspath( os.path.dirname( __file__ ) )}/config.cfg"
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read(config_path)
|
config.read(config_path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue