Fix syntax error
This commit is contained in:
parent
773084f504
commit
63dedabe63
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ def get_user(userdata, attr="login", default=None):
|
|||
|
||||
if default is None:
|
||||
return USERMAP[lemail][attr]
|
||||
return USERMAP[lemail]get(attr, default)
|
||||
return USERMAP[lemail].get(attr, default)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue