Skip to content

Commit

Permalink
blessings init error...
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tal committed Oct 19, 2015
1 parent e8700ef commit c7e945d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyweet/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def colors():
if not hasattr(Term, "_colors"):
Term._colors = {}
term = Terminal()
if term.number_of_colors:
if term.color:
Term._colors["text"] = term.normal
if term.number_of_colors >= 256:
Term._colors["name"] = term.color(35)
Expand Down

0 comments on commit c7e945d

Please sign in to comment.