2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 12:17:08 +00:00

Detect unwriteable file permissions earlier

This commit is contained in:
Philip Sargent
2022-03-05 17:05:15 +00:00
parent 32377f4e6c
commit d7fd6b00ae
6 changed files with 29 additions and 19 deletions

View File

@@ -144,6 +144,9 @@ def dwgupload(request, folder=None, gitdisable='no'):
actual_saved = []
refused = []
# GIT see also core/views/expo.py editexpopage()
# GIT see also core/models/cave.py writetrogglefile()
if gitdisable != 'yes': # set in url 'dwguploadnogit/'
git = settings.GIT
else: