mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-04-01 11:11:37 +01:00
regenerating .pos file more carefully
This commit is contained in:
@@ -264,8 +264,7 @@ def writetrogglefile(filepath, filecontent):
|
||||
filename = filepath.name
|
||||
git = settings.GIT
|
||||
|
||||
# as the wsgi process www-data, we have group write-access but are not owner, so cannot chmod.
|
||||
# do not trap exceptions, pass them up to the view that called this function
|
||||
# do not trap exceptions, pass them up to the view that called this function
|
||||
print(f"WRITING{cwd}---{filename} ")
|
||||
with open(filepath, "w") as f:
|
||||
f.write(filecontent)
|
||||
|
||||
Reference in New Issue
Block a user