Runnable with both Python3 and Python2, with PyQt4 #2249
|
@ -30,6 +30,7 @@ from tr import _translate
|
|||
try:
|
||||
SafeConfigParser = configparser.SafeConfigParser
|
||||
except AttributeError:
|
||||
# alpine linux, python3.12
|
||||
SafeConfigParser = configparser.ConfigParser
|
||||
|
||||
def getSOCKSProxyType(config):
|
||||
|
|
|
@ -18,6 +18,7 @@ except ImportError:
|
|||
try:
|
||||
SafeConfigParser = configparser.SafeConfigParser
|
||||
except AttributeError:
|
||||
# alpine linux, python3.12
|
||||
SafeConfigParser = configparser.ConfigParser
|
||||
config_ready = Event()
|
||||
|
||||
|
|
Reference in New Issue
Block a user