summaryrefslogtreecommitdiffstats
path: root/core/views/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-07 21:53:17 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-07 21:53:17 +0100
commitbf7491348683ba592804ffe74ff75e0eadbcefcc (patch)
treeb4779fee8b2e9aa433bc90a75914f8ea5c7b44b2 /core/views/survex.py
parente3a341eb22538f1eff76a996a109ab41415f420f (diff)
downloadtroggle-bf7491348683ba592804ffe74ff75e0eadbcefcc.tar.gz
troggle-bf7491348683ba592804ffe74ff75e0eadbcefcc.tar.bz2
troggle-bf7491348683ba592804ffe74ff75e0eadbcefcc.zip
compatible with Dj2.1.5
Diffstat (limited to 'core/views/survex.py')
-rw-r--r--core/views/survex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/survex.py b/core/views/survex.py
index 0c05697..7629af7 100644
--- a/core/views/survex.py
+++ b/core/views/survex.py
@@ -194,7 +194,7 @@ def svx(request, survex_file):
message = "SAVE FILE FIRST"
form.data['code'] = rcode
if "save" in rform.data:
- if request.user.is_authenticated():
+ if request.user.is_authenticated:
message = form.SaveCode(rcode)
else:
message = "You do not have authority to save this file. Please log in."