diff --git a/country-flags.csv b/country-flags.csv index f32768c..4a3f427 100644 --- a/country-flags.csv +++ b/country-flags.csv @@ -59,7 +59,6 @@ Croatia,🇭🇷 Cuba,🇨🇺 Cyprus,🇨🇾 Czech Republic,🇨🇿 -Czechia,🇨🇿 Czechoslovakia,🇨🇿 Democratic Republic of the Congo,🇨🇩 Denmark,🇩🇰 diff --git a/update_films_by_country.py b/update_films_by_country.py index c612959..7821f2f 100644 --- a/update_films_by_country.py +++ b/update_films_by_country.py @@ -16,6 +16,10 @@ FILMS_BY_COUNTRY_PAGE_ID = 34 def get_films_by_country(viewings): viewings_filtered_by_country = VCinemaUtils.filter_viewings(viewings, "countries") + if "Czechia" in viewings_filtered_by_country.keys(): + viewings_filtered_by_country["Czech Republic"] = viewings_filtered_by_country["Czechia"] + viewings_filtered_by_country.pop("Czechia") + return viewings_filtered_by_country