2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 00:31:55 +00:00

Fixeed spelling error in variable name

This commit is contained in:
Martin Green 2023-04-30 19:01:07 +01:00
parent 82aaa2b523
commit 374caa0d9a

View File

@ -143,7 +143,7 @@ def write_and_commit(files, message):
+ msgdata
)
else:
print(f"No change {filepah}")
print(f"No change {filepath}")
subprocess.run([git, "commit", "-m", message], cwd=cwd, capture_output=True, text=True)
cp_status = subprocess.run([git, "status"], cwd=cwd, capture_output=True, text=True)
# This produces return code = 1 if it commits OK, but when the repo still needs to be pushed to origin/expoweb