summaryrefslogtreecommitdiffstats
path: root/core/views/survex.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/survex.py')
-rw-r--r--core/views/survex.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/views/survex.py b/core/views/survex.py
index 5707720..83f5af5 100644
--- a/core/views/survex.py
+++ b/core/views/survex.py
@@ -2,7 +2,6 @@ import datetime
import difflib
import os
import re
-import socket
from collections import namedtuple
from pathlib import Path
@@ -229,11 +228,7 @@ class SvxForm(forms.Form):
fout.write("\n")
fout.close()
- if socket.gethostname() == "expo":
- comment = f"Online survex edit: {self.data['filename']}.svx"
- else:
- comment = f"Online survex edit: {self.data['filename']}.svx on dev machine '{socket.gethostname()}' "
- print(f"Committing file which has been saved {editor=}")
+ comment = f"Online survex edit: {self.data['filename']}.svx"
add_commit(fname, comment, editor)
msg = f"SAVED and committed to git (if there were differences)\nEdited by:{editor}"