diff --git a/update_wiki.py b/update_wiki.py index 0d2d398..50ba5e5 100644 --- a/update_wiki.py +++ b/update_wiki.py @@ -55,10 +55,10 @@ def update_wiki(token_id, token_secret, update_csv=False, update_films_by_year=T with IncrementalBar('Updating pages', max=update_page_count, check_tty=False) as bar: if update_films_by_year: - Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, FILMS_BY_YEAR_PAGE_ID, films_by_year_page) + Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, FILMS_BY_YEAR_PAGE_ID, markdown=films_by_year_page) bar.next() if update_films_by_country: - Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, FILMS_BY_COUNTRY_PAGE_ID, films_by_country_page) + Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, FILMS_BY_COUNTRY_PAGE_ID, html=films_by_country_page) bar.next() bar.finish()