From 658c6795fb9676df97472e5fa0a8e5392ac7d6da Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Tue, 16 Jan 2024 15:33:35 +0100 Subject: [PATCH] Make COUNTRIES_TO_CONTINENTS public (#395) --- deebot_client/util/continents.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deebot_client/util/continents.py b/deebot_client/util/continents.py index 7ba9d272..27cf9548 100644 --- a/deebot_client/util/continents.py +++ b/deebot_client/util/continents.py @@ -3,11 +3,11 @@ def get_continent(country: str) -> str: """Return the continent for the given country or ww.""" - return _COUNTRIES_TO_CONTINENTS.get(country, "WW") + return COUNTRIES_TO_CONTINENTS.get(country, "WW") -# Co pied from https://github.com/mrbungle64/ecovacs-deebot.js/blob/master/countries.json on 11.01.2024 -_COUNTRIES_TO_CONTINENTS = { +# Copied from https://github.com/mrbungle64/ecovacs-deebot.js/blob/master/countries.json on 11.01.2024 +COUNTRIES_TO_CONTINENTS = { "AD": "EU", "AE": "AS", "AF": "AS",