From 699c19245abe816bfde8cfe1a6f5ffe6af2fef60 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 11 Nov 2023 14:36:03 +0200 Subject: regenerating .pos file more carefully --- core/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/utils.py') 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) -- cgit v1.2.3