Skip to content
Snippets Groups Projects
Commit c00ff366 authored by Fran Hrženjak's avatar Fran Hrženjak
Browse files

don't choke on version in package#version

parent 631d0370
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ from django.utils.datastructures import OrderedSet ...@@ -8,6 +8,7 @@ from django.utils.datastructures import OrderedSet
def read_mains(): def read_mains():
for component in settings.BOWER_INSTALLED_APPS: for component in settings.BOWER_INSTALLED_APPS:
component = component.split('#')[0]
try: try:
with open(os.path.join( with open(os.path.join(
settings.BOWER_COMPONENTS_ROOT, settings.BOWER_COMPONENTS_ROOT,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment