Single quotes

This commit is contained in:
Lonami 2019-07-10 23:19:05 +02:00 committed by GitHub
parent 00593fd4cd
commit 2b50eb4a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')