mirror of
https://github.com/JonasunderscoreJones/turbo-octo-potato.git
synced 2025-10-26 02:29:18 +01:00
Fixed previous fix
This commit is contained in:
parent
fec4439d4a
commit
0b5edb5b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ def convert_monthly_content_to_json(content, year, month):
|
|||
parts[0] = parts[0].replace('th', '').replace('st', '').replace('nd', '').replace('rd', '')
|
||||
|
||||
# make the links an empty list if it's null
|
||||
if parts[5] == None:
|
||||
if parts[5] == [None]:
|
||||
parts[5] = []
|
||||
|
||||
# create a json entry from the parsed data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue