Skip to content

Commit

Permalink
fix: allow more lenient peers id load
Browse files Browse the repository at this point in the history
Merge pull request #51 from ivelin/master
  • Loading branch information
Ivelin Ivanov committed Jan 23, 2021
2 parents eec1684 + 981ae27 commit 1fe71b6
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 1fe71b6

Please sign in to comment.