summaryrefslogtreecommitdiffstats
path: root/core/views/uploads.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r--core/views/uploads.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/views/uploads.py b/core/views/uploads.py
index a5ec7b7..ee2b8d9 100644
--- a/core/views/uploads.py
+++ b/core/views/uploads.py
@@ -272,6 +272,8 @@ def scanupload(request, path=None):
else:
if socket.gethostname() != "expo":
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)
# This produces return code = 1 if it commits OK