Skip to content

Commit

Permalink
Set default color to blank when creating new styles
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbrew committed May 22, 2019
1 parent ad73962 commit 2034d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_list_providers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def get_style(self, name):
try:
style = Style.objects.get(alternate_names__name=name)
except Style.DoesNotExist:
style = Style.objects.create(name=name)
style = Style.objects.create(name=name, default_color='')
self.styles[name.casefold()] = style
return style

Expand Down

0 comments on commit 2034d5e

Please sign in to comment.