summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2016-07-15 23:08:15 +1200
committerFlorian Baumann <derflob@derflob.de>2016-07-15 23:08:15 +1200
commitb7bfedd5596215208b3d17cd14afc115efbf26a6 (patch)
tree362b4a63ea1112fa9370d908bda03bc1f0d08722
parentee65a18c183317d97398065ba78b3ef990362a1a (diff)
downloadxmpp-b7bfedd5596215208b3d17cd14afc115efbf26a6.tar.gz
xmpp-b7bfedd5596215208b3d17cd14afc115efbf26a6.tar.bz2
fix KeyError
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index df39bbb..e7038ea 100644
--- a/__init__.py
+++ b/__init__.py
@@ -177,7 +177,7 @@ class OctoXMPP(EventHandlerPlugin, SettingsPlugin):
self.__format_duration(state['progress']['printTime']),
self.__format_duration(state['progress']['printTimeLeft'])))
else:
- lines.append("Printing for {printTime}.".format(
+ lines.append("Printing for {}.".format(
self.__format_duration(state['progress']['printTime'])))
if (state['job']['filament']):