mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 07:24:51 +00:00
Code style fix
This commit is contained in:
parent
85c50ef4dd
commit
4fe9cffc32
1 changed files with 12 additions and 10 deletions
|
|
@ -81,7 +81,8 @@ def parse_entities(entities: list, users: dict) -> list:
|
||||||
entity_type = ENTITIES.get(entity.ID, None)
|
entity_type = ENTITIES.get(entity.ID, None)
|
||||||
|
|
||||||
if entity_type:
|
if entity_type:
|
||||||
output_entities.append(pyrogram_types.MessageEntity(
|
output_entities.append(
|
||||||
|
pyrogram_types.MessageEntity(
|
||||||
type=entity_type,
|
type=entity_type,
|
||||||
offset=entity.offset,
|
offset=entity.offset,
|
||||||
length=entity.length,
|
length=entity.length,
|
||||||
|
|
@ -92,7 +93,8 @@ def parse_entities(entities: list, users: dict) -> list:
|
||||||
None
|
None
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
))
|
)
|
||||||
|
)
|
||||||
|
|
||||||
return output_entities
|
return output_entities
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue