Virtual printer now supports two resend variants
This commit is contained in:
1 parent
517a32f08f
commit
92445a8a3f
1 file changed
+4
-2
@@ -298,8 +298,10 @@ class VirtualPrinter():
|
||||
self.outgoing.put("// action:custom")
|
||||
elif data == "dont_answer":
|
||||
self._dont_answer = True
|
||||
elif data == "trigger_resend":
|
||||
self._triggerResend()
|
||||
elif data == "trigger_resend_lineno":
|
||||
self._triggerResend(expected=self.lastN, actual=self.lastN+1)
|
||||
elif data == "trigger_resend_checksum":
|
||||
self._triggerResend(expected=self.lastN)
|
||||
else:
|
||||
try:
|
||||
sleep_match = VirtualPrinter.sleep_regex.match(data)
|
||||
|
||||
Reference in new issue
Block a user