diff --git a/octoprint/printer.py b/octoprint/printer.py index d5b56fa2..d5fc445f 100644 --- a/octoprint/printer.py +++ b/octoprint/printer.py @@ -175,7 +175,7 @@ class Printer(): self._comm.sendCommand(command) def selectFile(self, filename, sd, printAfterSelect=False): - if self._comm is not None and (self._comm.isBusy() or self._comm.isStreaming()): + if self._comm is None or (self._comm.isBusy() or self._comm.isStreaming()): return self._printAfterSelect = printAfterSelect