misc cleanup;

* more typos
* python 3.13 deprecations
This commit is contained in:
ed 2024-10-11 20:46:40 +00:00
parent 4a4ec88d00
commit 1e7697b551
9 changed files with 10 additions and 9 deletions

View file

@ -71,7 +71,7 @@ def cnv(src):
def main():
src = readclip()
src = re.split("0{100,200}", src[::-1], 1)[1][::-1]
src = re.split("0{100,200}", src[::-1], maxsplit=1)[1][::-1]
with open("helptext.html", "wb") as fo:
for ln in cnv(iter(src.split("\n")[:-3])):
fo.write(ln.encode("utf-8") + b"\r\n")