Skip to content

Commit

Permalink
Handle empty spec json
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsieurV committed Nov 15, 2022
1 parent c80e954 commit 1a1f314
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions latexonhttp/resources/json_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@


def parse_json_resources_spec(json_payload):
if not json_payload:
return None, None
json_spec = {}

# Select / copy several keys.
Expand Down

0 comments on commit 1a1f314

Please sign in to comment.