mirror of
https://github.com/9001/copyparty.git
synced 2026-01-04 10:35:38 +10:00
misc cleanup;
* more typos * python 3.13 deprecations
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user