From a04ebf474e0d786f1e18da0d03051e4f43ecf144 Mon Sep 17 00:00:00 2001 From: mcarans Date: Tue, 19 Nov 2024 11:59:57 +1300 Subject: [PATCH] Fix styling --- src/hdx/scraper/ophi/__main__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/hdx/scraper/ophi/__main__.py b/src/hdx/scraper/ophi/__main__.py index 708f632..ebf2485 100755 --- a/src/hdx/scraper/ophi/__main__.py +++ b/src/hdx/scraper/ophi/__main__.py @@ -27,6 +27,7 @@ create_country_datasets = False + def main( save: bool = False, use_saved: bool = False, @@ -103,10 +104,12 @@ def update_dataset(dataset): countryiso3, standardised_country, ) in standardised_countries.items(): - countryname = Country.get_country_name_from_iso3(countryiso3) - standardised_country_trend = standardised_countries_trend.get( + countryname = Country.get_country_name_from_iso3( countryiso3 ) + standardised_country_trend = ( + standardised_countries_trend.get(countryiso3) + ) dataset = dataset_generator.generate_dataset( folder, standardised_country,