Fixed import error in Adafruit.IO

This commit is contained in:
Fabio Manganiello 2021-07-04 23:49:18 +02:00
parent ade3a7c2cf
commit 03631bcebc
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class AdafruitIoPlugin(Plugin):
from redis.exceptions import TimeoutError as QueueTimeoutError
def run():
from Adafruit_IO import ThrottlingError
redis = self._get_redis()
last_processed_batch_timestamp = None
data = {}