small notice added
This commit is contained in:
parent
a8d17237e1
commit
c5f9e96414
@ -35,7 +35,7 @@ class HoloUser():
|
|||||||
self.id = user
|
self.id = user
|
||||||
elif isinstance(user, str):
|
elif isinstance(user, str):
|
||||||
try:
|
try:
|
||||||
self.id = (app.get_users(user)).id
|
self.id = (app.get_users(user)).id # this line requires testing though
|
||||||
except bad_request_400.UsernameNotOccupied:
|
except bad_request_400.UsernameNotOccupied:
|
||||||
raise UserInvalidError(user)
|
raise UserInvalidError(user)
|
||||||
except bad_request_400.PeerIdInvalid:
|
except bad_request_400.PeerIdInvalid:
|
||||||
|
Reference in New Issue
Block a user