Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-08-17 14:01:41 -07:00
parent 3ce38b0b26
commit 581c06a943
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 + "===")
b = base64.b64decode(fc.output, validate=False)
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 + "===")
b = base64.b64decode(fc.output, validate=False)
return (fc, b)
return fc