fix script

This commit is contained in:
Sarah 2022-02-26 14:46:06 +00:00
parent 9286f8bcdf
commit 46f91fac26
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ def update_films_by_year_page(token_id, token_secret):
viewings = VCinemaUtils.get_vcinema_viewings(token_id, token_secret) viewings = VCinemaUtils.get_vcinema_viewings(token_id, token_secret)
print("Retrieving movie data") print("Retrieving movie data")
VCinemaUtils.add_imdb_data_to_viewings(viewings, 'year') VCinemaUtils.add_imdb_data_to_viewings(viewings, ['year'])
print("Processing viewing data") print("Processing viewing data")
viewings_by_year = VCinemaUtils.filter_viewings(viewings, 'year') viewings_by_year = VCinemaUtils.filter_viewings(viewings, 'year')
@ -34,7 +34,7 @@ def update_films_by_year_page(token_id, token_secret):
page_id = "24" page_id = "24"
print("Updating page") print("Updating page")
Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, page_id, film_by_year_table) Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, page_id, markdown=film_by_year_table)
print("Done!") print("Done!")