compatibility fix for Python < v3.13

This commit is contained in:
The MMGen Project 2026-06-04 10:41:42 +00:00
commit 7e5f43941a
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -228,7 +228,7 @@ class Config(Lockable):
enable_erigon = False
autochg_ignore_labels = False
autosign = False
threaded_python = not sys._is_gil_enabled()
threaded_python = sys.version_info.minor > 12 and not sys._is_gil_enabled()
aes_backend = 'cryptography'
# regtest: