mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-14 10:17:49 -06:00
Tweak python string comparisons
This commit is contained in:
parent
5873b0b032
commit
f13fbafe31
2 changed files with 7 additions and 7 deletions
|
@ -70,7 +70,7 @@ else:
|
|||
com_CDC = com_last
|
||||
description_CDC = description_last
|
||||
|
||||
if com_CDC == '' and not(com_first == ''):
|
||||
if com_CDC == '' and com_first != '':
|
||||
com_CDC = com_first
|
||||
description_CDC = description_first
|
||||
elif com_CDC == '':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue