Commit 94f2f97e authored by Guillaume Seguin's avatar Guillaume Seguin

Remove check on non existing variable "force"

parent 83bdc4e8
...@@ -359,7 +359,7 @@ class printcore(): ...@@ -359,7 +359,7 @@ class printcore():
def send_now(self, command, wait = 0): def send_now(self, command, wait = 0):
"""Sends a command to the printer ahead of the command queue, without a checksum """Sends a command to the printer ahead of the command queue, without a checksum
""" """
if self.online or force: if self.online:
if self.printing: if self.printing:
self.priqueue.append(command) self.priqueue.append(command)
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment