You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In xmodem/init.py, between lines 472 and 510, we have a while loop and if clauses to determine the appropriate action to take. I had a case where I would have the variable char being something unexpected and then the execution would go in the else statement. However, char is never re-evaluated in that else. It would then just loop for retries in the else. I believe that adding this statement: char = self.getc(1, timeout) after line 504 would solve this undesirable behavior.
Thanks for your time!
The text was updated successfully, but these errors were encountered:
In xmodem/init.py, between lines 472 and 510, we have a while loop and
if
clauses to determine the appropriate action to take. I had a case where I would have the variablechar
being something unexpected and then the execution would go in theelse
statement. However,char
is never re-evaluated in thatelse
. It would then just loop for retries in theelse
. I believe that adding this statement:char = self.getc(1, timeout)
after line 504 would solve this undesirable behavior.Thanks for your time!
The text was updated successfully, but these errors were encountered: