From bb19d5ab28992fe7c47d95268751fd554e762c12 Mon Sep 17 00:00:00 2001 From: tesuji <15225902+tesuji@users.noreply.github.com> Date: Fri, 24 Jan 2025 07:56:59 +0700 Subject: [PATCH] Fix compability issue in python 3.12+ SafeConfigParser was renamed to ConfigParser. --- libslub/pyslub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libslub/pyslub.py b/libslub/pyslub.py index 6e39ac1..6127127 100644 --- a/libslub/pyslub.py +++ b/libslub/pyslub.py @@ -30,7 +30,7 @@ def __init__(self): debugger = pgp.pygdbpython() self.dbg = d.pydbg(debugger) - config = configparser.SafeConfigParser() + config = configparser.ConfigParser() path = os.path.abspath(os.path.dirname(__file__)) config_path = os.path.join(path, "libslub.cfg") config.read(config_path)