From 480f0aef6fa886e254f20cb689d6a330bc0d56af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 3 Jun 2013 22:32:23 +0200 Subject: [PATCH] M20 on startup --- octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint/util/comm.py b/octoprint/util/comm.py index 95a934f..12cf58c 100644 --- a/octoprint/util/comm.py +++ b/octoprint/util/comm.py @@ -1055,7 +1055,7 @@ class MachineCom(object): self.refreshSdFiles() def refreshSdFiles(self): - if not self.isOperational() or self.isBusy(): + if self.isBusy(): return self.sendCommand("M20")