new structure

This commit is contained in:
piair338
2022-10-16 12:19:18 +00:00
parent 677b80f521
commit 14d15c4dea
3 changed files with 8 additions and 5 deletions

6
V4.py
View File

@@ -47,6 +47,10 @@ parser.add_argument(
"-r", "--risky", help="make the program faster, probably better risk of ban", dest="fast", action="store_true"
)
parser.add_argument(
"-c", "--config", help="Choose a specific config file", dest="fast", action="store_true"
)
args = parser.parse_args()
CUSTOM_START = args.override
LOG = args.log
@@ -75,7 +79,7 @@ else:
system("") # enable colors in windows cmd
#reading configuration
config_path = f"{path.abspath( path.dirname( __file__ ) )}/config.cfg"
config_path = f"{path.abspath( path.dirname( __file__ ) )}/user_data/config.cfg"
config = configparser.ConfigParser()
config.read(config_path)