mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 16:06:30 +00:00
added better logging to python
add day / winter / night switcher
This commit is contained in:
@@ -13,8 +13,8 @@ cdef class RemoteCommand:
|
||||
40: "STOP_INFERENCE",
|
||||
100: "EXIT"
|
||||
}
|
||||
data_str = f'. Data: {len(self.data)} bytes' if self.data else ''
|
||||
return f'{command_type_names[self.command_type]}: {data_str}'
|
||||
data_str = f'{len(self.data)} bytes' if self.data else ''
|
||||
return f'{command_type_names[self.command_type]} ({data_str})'
|
||||
|
||||
@staticmethod
|
||||
cdef from_msgpack(bytes data):
|
||||
|
||||
Reference in New Issue
Block a user