From 0bcbd20213cc89e3d55f3458c0f074f8a01d9cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sun, 3 Feb 2013 22:34:52 +0100 Subject: [PATCH] Removed stripes from gcode table, fixed a tiny bug --- octoprint/printer.py | 2 +- octoprint/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/octoprint/printer.py b/octoprint/printer.py index 286069a..c869303 100644 --- a/octoprint/printer.py +++ b/octoprint/printer.py @@ -356,7 +356,7 @@ class Printer(): self._timelapse.onPrintjobStarted(self._filename) # forward relevant state changes to gcode manager - if oldState == self._comm.STATE_PRINTING: + if self._comm is not None and oldState == self._comm.STATE_PRINTING: if state == self._comm.STATE_OPERATIONAL: self._gcodeManager.printSucceeded(self._filename) elif state == self._comm.STATE_CLOSED or state == self._comm.STATE_ERROR or state == self._comm.STATE_CLOSED_WITH_ERROR: diff --git a/octoprint/templates/index.html b/octoprint/templates/index.html index 305227d..8bedf3e 100644 --- a/octoprint/templates/index.html +++ b/octoprint/templates/index.html @@ -79,7 +79,7 @@
- +
Name