Skip to content

Commit

Permalink
JS-syntax has been corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmorozov committed Feb 28, 2023
1 parent 5574411 commit 52912ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ArxivNavigator/meta2js/month.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ def write_month_topics_to_js(file_path):
if not first_topic:
month_js += ', '

month_js += '{"name": "' + topic[0] + '", "items": "' + get_topic_items_json(topic[1]) + '"}'
month_js += '{"name": "' + topic[0] + '", "items": ' + get_topic_items_json(topic[1]) + '}'
first_topic = False

month_js += ']}'

months_js += month_js
first_month = False

months_js += ']}'
months_js += '];'

write_text_to_file(file_path, months_js, 'utf-8')

0 comments on commit 52912ca

Please sign in to comment.