Skip to content

Commit

Permalink
Fix new module/theme installation failing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastProject committed Dec 20, 2022
1 parent 508950d commit 4a380f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pext/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ def install(self, url: str, identifier: str, name: str, branch: bytes, verbose=F

try:
porcelain.clone(
UpdateManager.fix_git_url_for_dulwich(url), target=module_path, checkout=branch, force=True
UpdateManager.fix_git_url_for_dulwich(url), target=module_path, checkout=branch
)
except Exception as e:
if verbose:
Expand Down Expand Up @@ -2645,7 +2645,7 @@ def install(self, url: str, identifier: str, name: str, branch: bytes, verbose=F
Logger.log(None, Translation.get("downloading_from_url").format(name, url))

try:
porcelain.clone(UpdateManager.fix_git_url_for_dulwich(url), target=theme_path, checkout=branch, force=True)
porcelain.clone(UpdateManager.fix_git_url_for_dulwich(url), target=theme_path, checkout=branch)
except Exception as e:
if verbose:
Logger.log_critical(
Expand Down

0 comments on commit 4a380f9

Please sign in to comment.