Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
David Esteves committed Jun 17, 2019
1 parent e93bcef commit 58e6574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arctic/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def is_active(menu_entry, url_name):
url_base_name = url_name.split(':')
del url_base_name[-1]
url_base_name = ':'.join(url_base_name)
return [item.startswith(url_base_name) for item in start_url]
for item in start_url:
return item.startswith(url_base_name)
return False


Expand Down

0 comments on commit 58e6574

Please sign in to comment.