forked from expo/troggle
bugfix
This commit is contained in:
parent
ee7e3b6d41
commit
13e3da8d26
@ -272,6 +272,8 @@ def scanupload(request, path=None):
|
|||||||
else:
|
else:
|
||||||
if socket.gethostname() != "expo":
|
if socket.gethostname() != "expo":
|
||||||
comment = f"on dev machine '{socket.gethostname()}' "
|
comment = f"on dev machine '{socket.gethostname()}' "
|
||||||
|
else:
|
||||||
|
comment = ""
|
||||||
|
|
||||||
dr_commit = subprocess.run([git, "commit", "-m", f'JSON update for wallet {wallet} {comment}'], cwd=destfolder, capture_output=True, text=True)
|
dr_commit = subprocess.run([git, "commit", "-m", f'JSON update for wallet {wallet} {comment}'], cwd=destfolder, capture_output=True, text=True)
|
||||||
# This produces return code = 1 if it commits OK
|
# This produces return code = 1 if it commits OK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user