exe: survive ascii locales

This commit is contained in:
ed 2022-12-07 21:35:53 +00:00
parent fbed322d3b
commit 4f94a9e38b

View file

@ -10,7 +10,10 @@ if possible, for performance and security reasons, please use this instead:
https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py
""" """
try:
print(v.replace("\n", "\n▒▌ ")[1:] + "\n") print(v.replace("\n", "\n▒▌ ")[1:] + "\n")
except:
print(v.replace("\n", "\n|| ")[1:] + "\n")
import re import re