Skip to content

Commit fbe3014

Browse files
committed
Really tag 0.7.0
Catch an exception when normalization=true and comp_executables is set
1 parent b820f59 commit fbe3014

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

speedcenter/codespeed/views.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,11 @@ def comparison(request):
268268
settings.normalization:
269269
# Uncheck exe used for normalization when normalization is chosen as default in the settings
270270
selectedbaseline = exekeys[0]#this is the default baseline
271-
checkedexecutables.remove(selectedbaseline)
271+
try:
272+
checkedexecutables.remove(selectedbaseline)
273+
except ValueError:
274+
pass#the selected baseline was not checked
275+
272276
selecteddirection = False
273277
if 'hor' in data and data['hor'] == "true" or\
274278
hasattr(settings, 'chart_orientation') and settings.chart_orientation == 'horizontal':

0 commit comments

Comments
 (0)