Skip to content

Commit

Permalink
fix missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
muka committed Nov 3, 2020
1 parent 49fe8f2 commit 5fb1f00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/peerjs/ext/http-proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ def _loadPeerId():
def _loadConfig():
global config
conf_file = Path(CONFIG_FILE)
if conf_file.exists():
exists = conf_file.exists()
if exists:
with conf_file.open() as infile:
config = yaml.load(infile)
# Set defaults
Expand All @@ -119,6 +120,8 @@ def _loadConfig():
if "ice_servers" not in config.keys():
config["ice_servers"] = default_ice_servers

return exists


def _saveConfig():
global config
Expand Down

0 comments on commit 5fb1f00

Please sign in to comment.