[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
eb4381be4d
commit
288ccbd513
@ -27,11 +27,11 @@ if __name__ == "__main__":
|
|||||||
set_scenario_config(snakemake)
|
set_scenario_config(snakemake)
|
||||||
|
|
||||||
disable_progress = snakemake.config["run"].get("disable_progressbar", False)
|
disable_progress = snakemake.config["run"].get("disable_progressbar", False)
|
||||||
url_eurostat = "https://ec.europa.eu/eurostat/documents/38154/4956218/Balances-April2023.zip"
|
url_eurostat = (
|
||||||
tarball_fn = Path(f"{rootpath}/data/eurostat/eurostat_2023.zip")
|
"https://ec.europa.eu/eurostat/documents/38154/4956218/Balances-April2023.zip"
|
||||||
to_fn = Path(
|
|
||||||
f"{rootpath}/data/eurostat/Balances-April2023/"
|
|
||||||
)
|
)
|
||||||
|
tarball_fn = Path(f"{rootpath}/data/eurostat/eurostat_2023.zip")
|
||||||
|
to_fn = Path(f"{rootpath}/data/eurostat/Balances-April2023/")
|
||||||
|
|
||||||
logger.info(f"Downloading Eurostat data from '{url_eurostat}'.")
|
logger.info(f"Downloading Eurostat data from '{url_eurostat}'.")
|
||||||
progress_retrieve(url_eurostat, tarball_fn, disable=disable_progress)
|
progress_retrieve(url_eurostat, tarball_fn, disable=disable_progress)
|
||||||
|
Loading…
Reference in New Issue
Block a user