From 03631bcebca39171b51bf8cbde807a67c10da689 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 4 Jul 2021 23:49:18 +0200 Subject: [PATCH] Fixed import error in Adafruit.IO --- platypush/plugins/adafruit/io.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platypush/plugins/adafruit/io.py b/platypush/plugins/adafruit/io.py index 78ec1622d..f8c2684de 100644 --- a/platypush/plugins/adafruit/io.py +++ b/platypush/plugins/adafruit/io.py @@ -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 = {}