Revert "fixes"

This reverts commit 581c06a943.
This commit is contained in:
Jess Frazelle
2023-08-17 14:02:51 -07:00
parent 581c06a943
commit 755a4fd789
4 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ def sync(
if isinstance(fc, FileConversion) and fc.output != "":
if isinstance(fc.output, str):
b = base64.b64decode(fc.output, validate=False)
b = base64.b64decode(fc.output + "===")
return (fc, b)
return fc
@ -52,7 +52,7 @@ async def asyncio(
if isinstance(fc, FileConversion) and fc.output != "":
if isinstance(fc.output, str):
b = base64.b64decode(fc.output, validate=False)
b = base64.b64decode(fc.output + "===")
return (fc, b)
return fc