diff --git a/V4.py b/V4.py index 6d83564..0add38d 100755 --- a/V4.py +++ b/V4.py @@ -81,10 +81,8 @@ else: #reading configuration config_path = f"{path.abspath( path.dirname( __file__ ) )}/user_data/config.cfg" -if args.file : - config_path = os.path.abspath(args.file.name) - - +if args.config : + config_path = path.abspath(args.config.name)