diff --git a/src/bitmessageqt/settings.py b/src/bitmessageqt/settings.py index 11bb55d9..635d5241 100644 --- a/src/bitmessageqt/settings.py +++ b/src/bitmessageqt/settings.py @@ -30,6 +30,7 @@ from tr import _translate try: SafeConfigParser = configparser.SafeConfigParser except AttributeError: + # alpine linux, python3.12 SafeConfigParser = configparser.ConfigParser def getSOCKSProxyType(config): diff --git a/src/bmconfigparser.py b/src/bmconfigparser.py index 7a33a502..5869255f 100644 --- a/src/bmconfigparser.py +++ b/src/bmconfigparser.py @@ -18,6 +18,7 @@ except ImportError: try: SafeConfigParser = configparser.SafeConfigParser except AttributeError: + # alpine linux, python3.12 SafeConfigParser = configparser.ConfigParser config_ready = Event()