From 2b50eb4a02f5370ba12d8b4a23e5aad5007aa2ac Mon Sep 17 00:00:00 2001 From: Lonami Date: Wed, 10 Jul 2019 23:19:05 +0200 Subject: [PATCH] Single quotes --- telethon/client/chats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/chats.py b/telethon/client/chats.py index 0823bf6a..91d0bd35 100644 --- a/telethon/client/chats.py +++ b/telethon/client/chats.py @@ -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')