added options error check
This commit is contained in:
@@ -3425,8 +3425,16 @@ def multiflex_view(request,userid=0,
|
|||||||
if 'options' in request.session:
|
if 'options' in request.session:
|
||||||
options = request.session['options']
|
options = request.session['options']
|
||||||
|
|
||||||
includereststrokes = options['includereststrokes']
|
try:
|
||||||
ploterrorbars = options['ploterrorbars']
|
includereststrokes = options['includereststrokes']
|
||||||
|
except KeyError:
|
||||||
|
includereststrokes = False
|
||||||
|
|
||||||
|
try:
|
||||||
|
ploterrorbars = options['ploterrorbars']
|
||||||
|
except KeyError:
|
||||||
|
ploterrorbars = False
|
||||||
|
|
||||||
workstrokesonly = not includereststrokes
|
workstrokesonly = not includereststrokes
|
||||||
|
|
||||||
if userid==0:
|
if userid==0:
|
||||||
|
|||||||
Reference in New Issue
Block a user