more nits
This commit is contained in:
parent
0bd8a9d219
commit
cdce5dd41a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user