Skip to content

Commit

Permalink
fixed #204
Browse files Browse the repository at this point in the history
  • Loading branch information
LoRexxar committed Oct 25, 2023
1 parent 6a15349 commit 256dead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/pretreatment.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def pre_ast(self):
fi.close()

try:
manifest = json.loads(manifest_content, encoding='utf-8')
manifest = json.loads(manifest_content)

except json.decoder.JSONDecodeError:
logger.warning(
Expand Down
2 changes: 1 addition & 1 deletion utils/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def get_manifest_from_crt(file_path):
fi.close()

try:
manifest = json.loads(manifest_content, encoding='utf-8')
manifest = json.loads(manifest_content)

except json.decoder.JSONDecodeError:
logger.warning(
Expand Down

0 comments on commit 256dead

Please sign in to comment.