blip / src /event_card.py
amezi's picture
Adding skeleton highlights creator
58ac08a
raw
history blame
178 Bytes
import json
def parse_game_card(game_card_str):
try:
return json.loads(game_card_str)
except json.JSONDecodeError:
return {"description": game_card_str}