|
@@ -50,7 +50,7 @@ class DBOperation(threading.Thread):
|
|
|
|
|
|
for unit in range(1,4):
|
|
for unit in range(1,4):
|
|
res = self.query_command_in_unit(unit)
|
|
res = self.query_command_in_unit(unit)
|
|
- if len(res) > 0 and self._command_dict[unit] != res:
|
|
|
|
|
|
+ if self._command_dict[unit] != res:
|
|
self._command_dict[unit] = res
|
|
self._command_dict[unit] = res
|
|
|
|
|
|
time.sleep(0.001)
|
|
time.sleep(0.001)
|