Adding configuration to listen for incoming connections when connected via SOCKS proxy #297

Merged
mybluevan merged 3 commits from master into master 2013-07-16 00:05:15 +02:00
Showing only changes of commit 922cce6558 - Show all commits

View File

@ -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')