timofurrer / colorful

Terminal string styling done right, in Python :snake: :tada:
MIT License
525 stars 23 forks source link

fix setup(colormode=NO_COLORS) #39

Closed keturn closed 4 years ago

keturn commented 4 years ago

This fixes Colorful.setup(colormode=terminal.NO_COLORS), which was confusing the falsy value of NO_COLORS with the default argument value of None.

Consequently, cf.with_setup(colormode=NO_COLORS) should work now.

timofurrer commented 4 years ago

Thank you 🌮