From 41ee5b6292db36c2fe8d06b23a4d24dc98163c8b Mon Sep 17 00:00:00 2001 From: Stephen Jefferson Date: Thu, 25 Apr 2024 19:38:23 +0100 Subject: [PATCH] Re add missed wifi_country from merge conflict --- enviro/config_defaults.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/enviro/config_defaults.py b/enviro/config_defaults.py index ea365ea..0c0cbbf 100644 --- a/enviro/config_defaults.py +++ b/enviro/config_defaults.py @@ -20,6 +20,12 @@ def add_missing_config_settings(): warn_missing_config_setting("usb_power_temperature_offset") config.usb_power_temperature_offset = DEFAULT_USB_POWER_TEMPERATURE_OFFSET + try: + config.wifi_country + except AttributeError: + warn_missing_config_setting("wifi_country") + config.wifi_country = "GB" + try: config.wunderground_id except AttributeError: