Skip to content

Commit 1f9fbf0

Browse files
committed
fix linting
1 parent 9119b89 commit 1f9fbf0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/peerjs/ext/http-proxy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ def _loadConfig():
100100
with conf_file.open() as infile:
101101
config = json.load(infile)
102102
savedPeerId = config.get('peerId', None)
103-
if not "host" in config.keys():
103+
if "host" not in config.keys():
104104
config["host"] = AMBIANIC_PNP_HOST
105-
if not "port" in config.keys():
105+
if "port" not in config.keys():
106106
config["port"] = AMBIANIC_PNP_PORT
107-
if not "secure" in config.keys():
107+
if "secure" not in config.keys():
108108
config["secure"] = AMBIANIC_PNP_SECURE
109-
if not "stun_servers" in config.keys():
109+
if "stun_servers" not in config.keys():
110110
config["stun_servers"] = default_stun_servers
111111

112112

0 commit comments

Comments
 (0)