diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-11-11 14:36:03 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-11-11 14:36:03 +0200 |
commit | 699c19245abe816bfde8cfe1a6f5ffe6af2fef60 (patch) | |
tree | 74a74d7ecf2e6ff15789bde763543e82a99cda72 /core/utils.py | |
parent | 7fb0f0734da6704771662ce1866376ea9dac180f (diff) | |
download | troggle-699c19245abe816bfde8cfe1a6f5ffe6af2fef60.tar.gz troggle-699c19245abe816bfde8cfe1a6f5ffe6af2fef60.tar.bz2 troggle-699c19245abe816bfde8cfe1a6f5ffe6af2fef60.zip |
regenerating .pos file more carefully
Diffstat (limited to 'core/utils.py')
-rw-r--r-- | core/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/utils.py b/core/utils.py index 88a4b1b..99acfb3 100644 --- a/core/utils.py +++ b/core/utils.py @@ -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) |