A live bird collage card for your Home Assistant dashboard.
fix: disable ConfigParser interpolation: causes an exception with unescaped %, we do not use interpolation anyway
frederikcb2969fd3993
diff --git a/scripts/utils/helpers.py b/scripts/utils/helpers.pyindex 297f00fd..210e367d 100644--- a/scripts/utils/helpers.py+++ b/scripts/utils/helpers.py@@ -29,7 +29,7 @@ def _load_settings(settings_path='/etc/birdnet/birdnet.conf', force_reload=Falseglobal _settingsif _settings is None or force_reload:with open(settings_path) as f:- parser = PHPConfigParser()+ parser = PHPConfigParser(interpolation=None)# preserve caseparser.optionxform = lambda option: optionlines = chain(("[top]",), f)