Fix syntax error

This commit is contained in:
Michal Čihař 2020-12-30 08:59:58 +01:00
parent 773084f504
commit 63dedabe63

View file

@ -183,7 +183,7 @@ def get_user(userdata, attr="login", default=None):
if default is None: if default is None:
return USERMAP[lemail][attr] return USERMAP[lemail][attr]
return USERMAP[lemail]get(attr, default) return USERMAP[lemail].get(attr, default)