Private
Public Access
1
0

added options error check

This commit is contained in:
Sander Roosendaal
2017-07-06 13:40:19 +02:00
parent 5b6be42f78
commit 19d3f47230

View File

@@ -3424,9 +3424,17 @@ def multiflex_view(request,userid=0,
if 'options' in request.session:
options = request.session['options']
try:
includereststrokes = options['includereststrokes']
except KeyError:
includereststrokes = False
try:
ploterrorbars = options['ploterrorbars']
except KeyError:
ploterrorbars = False
includereststrokes = options['includereststrokes']
ploterrorbars = options['ploterrorbars']
workstrokesonly = not includereststrokes
if userid==0: