Open e1fueg0 opened 4 years ago
And also pls propagate out server message in case of error.
Also pls expose the data from putscript()
.
And the code can be taken from putscript()
to fix checkscript()
.
content = tools.to_bytes(content)
content = tools.to_bytes("{%d+}" % len(content)) + CRLF + content
@e1fueg0 Sorry to react so lately but could you please make a PR with your modifications?
When
content
takes more bytes than chars, the following command wrongly encodes text:This code works correctly: