mirror of
https://github.com/9001/copyparty.git
synced 2026-11-17 17:50:23 +00:00
misc cleanup;
* more typos * python 3.13 deprecations
This commit is contained in:
1 parent
4a4ec88d00
commit
1e7697b551
9 files changed
+10
-9
No files matched your search
@@ -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