added options error check
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user