Skip to content

Commit

Permalink
fix: allow more lenient peers id load
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Jan 23, 2021
1 parent eec1684 commit 981ae27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peerjs/ext/http_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _loadPeerId():
if conf_file.exists():
conf = {}
with conf_file.open() as infile:
conf = json.load(infile)
conf = yaml.load(infile)
savedPeerId = conf.get('peerId', None)


Expand Down

0 comments on commit 981ae27

Please sign in to comment.