summaryrefslogtreecommitdiffstats
path: root/__init__.py
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2016-07-15 18:32:23 +1200
committerFlorian Baumann <derflob@derflob.de>2016-07-15 18:32:23 +1200
commit9391d520d7388cf3a8bed9cf7f4efe14e263984a (patch)
treef79852c4f4c9fd70cee8f03db70b0306734d7b16 /__init__.py
parentdd311d70e1ee65389c336016483c0525aca0f60d (diff)
downloadxmpp-9391d520d7388cf3a8bed9cf7f4efe14e263984a.tar.gz
xmpp-9391d520d7388cf3a8bed9cf7f4efe14e263984a.tar.bz2
fix status temp
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index e97496b..e691081 100644
--- a/__init__.py
+++ b/__init__.py
@@ -155,7 +155,7 @@ class OctoXMPP(EventHandlerPlugin, SettingsPlugin):
else:
return "Temperatures:\n{}".format("\n".join(
["{tool}: {actual}°C (Target: {target}°C; Offset: {offset}°K".format(tool=tool, **temp)
- for (tool, temp) in self._printer.get_current_temperatures()]))
+ for (tool, temp) in self._printer.get_current_temperatures().items()]))
def _status_job(self):
if (self._printer.is_printing()):