diff --git a/src/unisync/main.py b/src/unisync/main.py index 7096498..d8b77b3 100644 --- a/src/unisync/main.py +++ b/src/unisync/main.py @@ -15,14 +15,13 @@ def main(): config_path: Path = Path("~/.config/unisync/config.ini").expanduser() # Check if --config is set - if cli_args.config != None and Path(cli_args.config).is_file(): + if cli_args.config is not None and Path(cli_args.config).is_file(): config = load_config(cli_args.config) elif config_path.is_file(): config = load_config(str(config_path)) else: # TODO replace the next line with something to do if no config file is found config = load_config(str(config_path)) - pass # TODO make the command line arguments work and override the config options