mirror of
https://gitlab.com/0xDEAD10CC/pycoindroid
synced 2025-07-06 04:51:08 -07:00
update
This commit is contained in:
parent
ced4ee4250
commit
5347429318
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ class DroidControllerTask(CoindroidAPITask):
|
|||
events = self.droidControllerQueue.get()
|
||||
for event in events:
|
||||
stats = self.getDroidStats(event)
|
||||
if not stats:
|
||||
self.logger.error("Unable to get stats!")
|
||||
continue
|
||||
message = self.genMessage(stats)
|
||||
self.logger.info(message)
|
||||
if (stats["droid_name"] == "bob") or (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue