summaryrefslogtreecommitdiffstats
path: root/core/utils.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-04-22 01:24:32 +0100
committerPhilip Sargent <philip.sargent@gmail.com>2023-04-22 01:24:32 +0100
commit2ed66fe3d0c24ba993425947ee7cd0986ecba83c (patch)
treefe188871223eac09d30725f53b9015a4875cf609 /core/utils.py
parent116cfc7c6e5da0522ce301a89386b37efac5dfe5 (diff)
downloadtroggle-2ed66fe3d0c24ba993425947ee7cd0986ecba83c.tar.gz
troggle-2ed66fe3d0c24ba993425947ee7cd0986ecba83c.tar.bz2
troggle-2ed66fe3d0c24ba993425947ee7cd0986ecba83c.zip
edit cave reads from HTML file not just db
Diffstat (limited to 'core/utils.py')
-rw-r--r--core/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils.py b/core/utils.py
index 2c0a3a2..3461543 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -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)