diff --git a/platypush/plugins/gpio/zeroborg/__init__.py b/platypush/plugins/gpio/zeroborg/__init__.py index 2b24effd3..b1e25031c 100644 --- a/platypush/plugins/gpio/zeroborg/__init__.py +++ b/platypush/plugins/gpio/zeroborg/__init__.py @@ -2,8 +2,6 @@ import enum import threading import time -import platypush.plugins.gpio.zeroborg.lib as ZeroBorg - from platypush.message.response import Response from platypush.plugins import Plugin from platypush.context import get_plugin @@ -26,6 +24,7 @@ class GpioZeroborgPlugin(Plugin): def __init__(self, directions = {}, *args, **kwargs): + import platypush.plugins.gpio.zeroborg.lib as ZeroBorg super().__init__(*args, **kwargs) self.directions = directions