diff --git a/src/main.py b/src/main.py index d53cd23..cd2ada6 100644 --- a/src/main.py +++ b/src/main.py @@ -21,7 +21,7 @@ def run(args): if not pve.has_directory(pve.repo_path): logging.info(f"Cloning repository {args.repo} to {args.path}...") git_utils.clone_repo(url=args.repo, path=args.path, linux_machine=pve) - elif pve.has_directory(args.path.joinpath(".git")): + elif pve.has_directory(Path(args.path).joinpath(".git")): logging.info(f"Repository already cloned at {args.path}, updating...") git_utils.update_repo(path=args.path, linux_machine=pve)