mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 01:57:14 +00:00
edit cave reads from HTML file not just db
This commit is contained in:
@@ -117,7 +117,7 @@ def write_and_commit(files, message):
|
||||
kwargs = {}
|
||||
try:
|
||||
with open(filepath, mode, **kwargs) as f:
|
||||
print(f"WRITING{cwd}---{filename} ")
|
||||
print(f"WRITING {cwd}---{filename} ")
|
||||
# as the wsgi process www-data, we have group write-access but are not owner, so cannot chmod.
|
||||
# os.chmod(filepath, 0o664) # set file permissions to rw-rw-r--
|
||||
f.write(content)
|
||||
|
||||
Reference in New Issue
Block a user