Make sure to clear_to_send in timeout handling for active resends
This commit is contained in:
parent
046536dd70
commit
bd352f4658
1 changed files with 2 additions and 2 deletions
|
|
@ -1321,7 +1321,7 @@ class MachineCom(object):
|
|||
|
||||
elif self._resendActive:
|
||||
# resend active, resend same command instead of triggering a new one
|
||||
message = "Communication timeout while printing and during an active resend, resending same line again to trigger response from printer."
|
||||
message = "Communication timeout during an active resend, resending same line again to trigger response from printer."
|
||||
self._logger.info(message)
|
||||
self._log(message + " " + general_message)
|
||||
if self._resendSameCommand():
|
||||
|
|
@ -1779,7 +1779,7 @@ class MachineCom(object):
|
|||
self._handle_ok()
|
||||
|
||||
def _resendSameCommand(self):
|
||||
self._resendNextCommand(again=True)
|
||||
return self._resendNextCommand(again=True)
|
||||
|
||||
def _resendNextCommand(self, again=False):
|
||||
self._lastCommError = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue