Update utils.py

This commit is contained in:
Jaya Surya P 2023-06-06 16:59:12 +05:30 committed by GitHub
parent 0c831f8235
commit 8f763a1f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ def opening_description_table_html(opening):
else: # if isinstance(opening, QueryDict):
details = opening
keys = list(details.keys())
newdetails = {}
newdetails = {"ID": opening.id}
for key in keys:
if isinstance(details[key], list):
details[key] = {"details": details[key], "type": ["list"]}