more nits
This commit is contained in:
parent
0cdc1b6506
commit
2e66eaf5ac
@ -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