mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +03:00
Single quotes
This commit is contained in:
parent
00593fd4cd
commit
2b50eb4a02
|
@ -1000,7 +1000,7 @@ class ChatMethods:
|
|||
|
||||
user = await self.get_input_entity(user)
|
||||
if isinstance(user, types.InputPeerSelf):
|
||||
raise ValueError("You cannot restrict yourself")
|
||||
raise ValueError('You cannot restrict yourself')
|
||||
|
||||
if not isinstance(user, types.InputPeerUser):
|
||||
raise ValueError('You must pass a user entity')
|
||||
|
|
Loading…
Reference in New Issue
Block a user