diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-06 17:41:49 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-06 17:41:49 +0300 |
commit | f5490674a8fd84162b4e80c045e675633afb9ee7 (patch) | |
tree | fb895f33caf64467072c3237dcf454f9e26e34dd | |
parent | 5993df24a1026225cb8af89237547c1d9101ce69 (diff) |
fix bad output for error when updating a git repo
-rw-r--r-- | launch.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ def git_clone(url, dir, name, commithash=None): if commithash is None:
return
- current_hash = run(f'"{git}" -C {dir} rev-parse HEAD', None, "Couldn't determine {name}'s hash: {commithash}").strip()
+ current_hash = run(f'"{git}" -C {dir} rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
if current_hash == commithash:
return
|