mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 14:25:55 +00:00
Code style fix
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user