Skip to content

Commit

Permalink
Also use DEF_ENVIRONMENT value for comparision page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Mar 10, 2020
1 parent a31400e commit be32440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespeed/views_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_default_environment(enviros, data, multi=False):
if not multi:
break
# Use settings.py value
if not defaultenviros and not multi:
if not defaultenviros:
if (hasattr(settings, 'DEF_ENVIRONMENT') and
settings.DEF_ENVIRONMENT is not None):
for env in enviros:
Expand Down

0 comments on commit be32440

Please sign in to comment.