more nits

This commit is contained in:
Motiejus Jakštys 2021-05-15 23:42:27 +03:00
parent 0cdc1b6506
commit 2e66eaf5ac

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):