diff --git a/update_films_by_country_page.py b/update_films_by_country_page.py index 7f3bf6b..36223ba 100644 --- a/update_films_by_country_page.py +++ b/update_films_by_country_page.py @@ -5,6 +5,8 @@ import os from progress.bar import Bar from wand.image import Image import worldmap +import warnings +warnings.filterwarnings("ignore") from bookstack import Bookstack @@ -123,6 +125,7 @@ def update_films_by_country_page(token_id, token_secret): with Bar('Generating table', max=country_count, suffix='%(percent).1f%% - %(eta)ds remaining', check_tty=False) as bar: film_by_country_table = build_table(viewings_by_country, bar) + print("Drawing map") country_counter = Counter(viewings_by_country) png_data = draw_map(country_counter)