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