pass token to updates
This commit is contained in:
parent
d9d7948919
commit
2e68577785
@ -57,19 +57,19 @@ def update_wiki(token_id, token_secret, update_csv, pages):
|
|||||||
|
|
||||||
with IncrementalBar('Updating pages', max=update_page_count, check_tty=False) as bar:
|
with IncrementalBar('Updating pages', max=update_page_count, check_tty=False) as bar:
|
||||||
if update_films_by_year:
|
if update_films_by_year:
|
||||||
FilmsByYear.update_page(films_by_year)
|
FilmsByYear.update_page(token_id, token_secret, films_by_year)
|
||||||
bar.next()
|
bar.next()
|
||||||
if update_films_by_country:
|
if update_films_by_country:
|
||||||
FilmsByCountry.update_page(films_by_country)
|
FilmsByCountry.update_page(token_id, token_secret, films_by_country)
|
||||||
bar.next()
|
bar.next()
|
||||||
if update_film_references:
|
if update_film_references:
|
||||||
FilmsByReference.update_page(films_by_reference)
|
FilmsByReference.update_page(token_id, token_secret, films_by_reference)
|
||||||
bar.next()
|
bar.next()
|
||||||
if update_hidden_themes:
|
if update_hidden_themes:
|
||||||
HiddenThemes.update_page(hidden_themes)
|
HiddenThemes.update_page(token_id, token_secret, hidden_themes)
|
||||||
bar.next()
|
bar.next()
|
||||||
if update_keyword_scores:
|
if update_keyword_scores:
|
||||||
KeywordScores.update_page(keyword_scores)
|
KeywordScores.update_page(token_id, token_secret, keyword_scores)
|
||||||
bar.next()
|
bar.next()
|
||||||
|
|
||||||
bar.finish()
|
bar.finish()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user