Skip to content

Commit

Permalink
Fix error when MQTT plugin is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ralmn committed Mar 28, 2021
1 parent b795068 commit d550c48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions octoprint_ikea_tradfri/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class IkeaTradfriPlugin(
stopTimer = dict()
stopCooldown = dict()
pool = concurrent.futures.ThreadPoolExecutor()
baseTopic = None


def __init__(self):
self.mqtt_publish = lambda *args, **kwargs: None
Expand Down

0 comments on commit d550c48

Please sign in to comment.