mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +03:00
Space
This commit is contained in:
parent
cc6662e183
commit
e91c296d4b
|
@ -53,7 +53,7 @@ class CallbackQuery(EventBuilder):
|
|||
elif hasattr(match, 'match') and callable(match.match):
|
||||
if not isinstance(getattr(match, 'pattern', b''), bytes):
|
||||
match = re.compile(match.pattern.encode('utf-8'),
|
||||
match.flags & (~re.UNICODE))
|
||||
match.flags & (~re.UNICODE))
|
||||
|
||||
self.match = match.match
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user