mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-03 11:40:11 +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):
|
elif hasattr(match, 'match') and callable(match.match):
|
||||||
if not isinstance(getattr(match, 'pattern', b''), bytes):
|
if not isinstance(getattr(match, 'pattern', b''), bytes):
|
||||||
match = re.compile(match.pattern.encode('utf-8'),
|
match = re.compile(match.pattern.encode('utf-8'),
|
||||||
match.flags & (~re.UNICODE))
|
match.flags & (~re.UNICODE))
|
||||||
|
|
||||||
self.match = match.match
|
self.match = match.match
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user