Adding configuration to listen for incoming connections when connected via SOCKS proxy #297
|
@ -78,3 +78,9 @@ def loadConfig():
|
||||||
os.makedirs(shared.appdata)
|
os.makedirs(shared.appdata)
|
||||||
with open(shared.appdata + 'keys.dat', 'wb') as configfile:
|
with open(shared.appdata + 'keys.dat', 'wb') as configfile:
|
||||||
shared.config.write(configfile)
|
shared.config.write(configfile)
|
||||||
|
|
||||||
|
# Initialize settings that may be missing due to upgrades and could
|
||||||
|
# cause errors if missing.
|
||||||
|
if not shared.config.has_option('bitmessagesettings', 'sockslisten'):
|
||||||
|
shared.config.set('bitmessagesettings', 'sockslisten', 'false')
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user