Skip to content

Commit

Permalink
Merge pull request #102 from OctoPrint/bugfix/unsubscribe
Browse files Browse the repository at this point in the history
0.8.10
  • Loading branch information
jneilliii authored May 7, 2021
2 parents 08edf0d + 11b4037 commit e86ed56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion octoprint_mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def remove_sub(entry):
subbed_topic, subbed_callback, _, _ = entry
return not (callback == subbed_callback and (topic is None or subbed_topic == topic))

self._mqtt_subscriptions = filter(remove_sub, self._mqtt_subscriptions)
self._mqtt_subscriptions = list(filter(remove_sub, self._mqtt_subscriptions))

if self._mqtt_connected and subbed_topics:
self._mqtt.unsubscribe(*subbed_topics)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
plugin_name = "OctoPrint-MQTT"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "0.8.9"
plugin_version = "0.8.10"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit e86ed56

Please sign in to comment.