diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/authn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authn.py b/src/authn.py index d57e382..e90118a 100755 --- a/src/authn.py +++ b/src/authn.py @@ -54,7 +54,7 @@ class User: class UserDB: def __init__(self, yamlfile): self._users = {} - for u, d in yaml.load(open(yamlfile)).items(): + for u, d in yaml.safe_load(open(yamlfile)).items(): self._users[u] = User(u, d['pw'], d['authz']) def dump(self): |