We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9119b89 commit 1f9fbf0Copy full SHA for 1f9fbf0
1 file changed
src/peerjs/ext/http-proxy.py
@@ -100,13 +100,13 @@ def _loadConfig():
100
with conf_file.open() as infile:
101
config = json.load(infile)
102
savedPeerId = config.get('peerId', None)
103
- if not "host" in config.keys():
+ if "host" not in config.keys():
104
config["host"] = AMBIANIC_PNP_HOST
105
- if not "port" in config.keys():
+ if "port" not in config.keys():
106
config["port"] = AMBIANIC_PNP_PORT
107
- if not "secure" in config.keys():
+ if "secure" not in config.keys():
108
config["secure"] = AMBIANIC_PNP_SECURE
109
- if not "stun_servers" in config.keys():
+ if "stun_servers" not in config.keys():
110
config["stun_servers"] = default_stun_servers
111
112
0 commit comments