mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 06:57:12 +00:00
re-parsing survex file when editing
This commit is contained in:
@@ -223,10 +223,12 @@ class SvxForm(forms.Form):
|
||||
comment = f"Online survex edit: {self.data['filename']}.svx on dev machine '{socket.gethostname()}' "
|
||||
only_commit(fname, comment)
|
||||
|
||||
msg = "SAVED and committed to git (if there were differences)"
|
||||
# should only call this is something changed
|
||||
parse_one_file(self.data["filename"])
|
||||
|
||||
return "SAVED and committed to git (if there were differences)"
|
||||
if parse_one_file(self.data["filename"]):
|
||||
return msg
|
||||
else:
|
||||
return msg + "\nBUT PARSING failed. Do a completely new databaseReset."
|
||||
|
||||
def Process(self):
|
||||
print(">>>>....\n....Processing\n")
|
||||
|
||||
Reference in New Issue
Block a user