fix: fallback to unicode btoa

This commit is contained in:
relikd
2024-02-28 01:43:23 +01:00
parent 4047fda776
commit 53935fecf5
2 changed files with 13 additions and 3 deletions

View File

@@ -27,7 +27,6 @@ class PlistServer(BaseHTTPRequestHandler):
def do_GET(self):
try:
b64 = self.path.split('?d=')[-1] + '=='
print(b64decode(b64))
data = json.loads(b64decode(b64)) # type: dict
rv = generatePlist(data)
except Exception as e: