diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-08-16 20:57:34 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-08-16 20:57:34 +0300 |
commit | 13e3da8d2691c1f7633b3a0a2010ecc8f2781370 (patch) | |
tree | 777e33ab6bdc624d5d58cd7530c25586eb95c99c /core | |
parent | ee7e3b6d416b04ff37421989b9350e68a4ec083a (diff) | |
download | troggle-13e3da8d2691c1f7633b3a0a2010ecc8f2781370.tar.gz troggle-13e3da8d2691c1f7633b3a0a2010ecc8f2781370.tar.bz2 troggle-13e3da8d2691c1f7633b3a0a2010ecc8f2781370.zip |
bugfix
Diffstat (limited to 'core')
-rw-r--r-- | core/views/uploads.py | 2 |
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 |