From bffeb920084b919fad02c990097fe7aa198db4d3 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Wed, 21 Jun 2023 10:17:21 +0200 Subject: [PATCH] update forgejo lxc --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)