Switch from magic number to named constant
This commit is contained in:
parent
aa286eb460
commit
23020b51cf
1 changed files with 1 additions and 1 deletions
|
|
@ -901,7 +901,7 @@ def readMessage(msg):
|
|||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
if cmdId == 143:
|
||||
if cmdId == CMD_SYNC_SYS_SLEEP_STATUS:
|
||||
handled = True
|
||||
print("<- CoDiOFF")
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue