more nits

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:51 +03:00 committed by Motiejus Jakštys
parent 0bd8a9d219
commit cdce5dd41a

View File

@ -18,9 +18,7 @@ TEXTWIDTH_CM = 12.12364
def color(string):
if not string:
string = 'black'
return COLORS[string]
return COLORS[string if string else 'black']
def inch(cm):