Fixed import error in Adafruit.IO
This commit is contained in:
parent
ade3a7c2cf
commit
03631bcebc
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ class AdafruitIoPlugin(Plugin):
|
||||||
from redis.exceptions import TimeoutError as QueueTimeoutError
|
from redis.exceptions import TimeoutError as QueueTimeoutError
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
|
from Adafruit_IO import ThrottlingError
|
||||||
|
|
||||||
redis = self._get_redis()
|
redis = self._get_redis()
|
||||||
last_processed_batch_timestamp = None
|
last_processed_batch_timestamp = None
|
||||||
data = {}
|
data = {}
|
||||||
|
|
Loading…
Reference in a new issue