Skip to content

Commit 1fe71b6

Browse files
author
Ivelin Ivanov
authored
fix: allow more lenient peers id load
Merge pull request #51 from ivelin/master
2 parents eec1684 + 981ae27 commit 1fe71b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/peerjs/ext/http_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _loadPeerId():
9797
if conf_file.exists():
9898
conf = {}
9999
with conf_file.open() as infile:
100-
conf = json.load(infile)
100+
conf = yaml.load(infile)
101101
savedPeerId = conf.get('peerId', None)
102102

103103

0 commit comments

Comments
 (0)