Commit 124aef58 authored by kliment's avatar kliment

Support rs N0 - style resends

parent b3053854
...@@ -101,7 +101,7 @@ class printcore(): ...@@ -101,7 +101,7 @@ class printcore():
#callback for errors #callback for errors
pass pass
if "Resend" in line or "rs" in line: if "Resend" in line or "rs" in line:
toresend=int(line.replace(":"," ").split()[-1]) toresend=int(line.replace("N:"," ").replace("N"," ").split()[-1])
self.resendfrom=toresend self.resendfrom=toresend
self.clear=True self.clear=True
self.clear=True self.clear=True
......
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