pytec: prevent uninitialized ch from crashing the code below
parent
9e215830aa
commit
089f8a0dea
|
@ -248,7 +248,7 @@ def main():
|
|||
|
||||
# Sometimes report_mode may yeild empty object
|
||||
except KeyError:
|
||||
pass
|
||||
continue
|
||||
|
||||
temperature = ch['temperature']
|
||||
|
||||
|
|
Loading…
Reference in New Issue