mirror of
https://github.com/9001/copyparty.git
synced 2025-10-04 02:09:20 +02:00
misc cleanup;
* more typos * python 3.13 deprecations
This commit is contained in:
parent
4a4ec88d00
commit
1e7697b551
9 changed files with 10 additions and 9 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue