From 8163f390483cbaf43b2713a01bdcbb621d7ab289 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 24 Jul 2025 15:37:37 +0000 Subject: [PATCH] backend: Update reading the configuration The readfp() function was removed in newer versions of Python. Signed-off-by: Michael Tremer --- src/backend/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base.py b/src/backend/base.py index cfe7a78f..80bd4362 100644 --- a/src/backend/base.py +++ b/src/backend/base.py @@ -88,7 +88,7 @@ class Backend(object): cp = configparser.ConfigParser() # Initialize configuration with some sensible defaults - cp.readfp(DEFAULT_CONFIG) + cp.read_file(DEFAULT_CONFIG) # Parse file cp.read(configfile) -- 2.47.2