Skip to content

Commit 8412c77

Browse files
committed
Applied pre_push
1 parent f1b2adf commit 8412c77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord_slash/utils/manage_components.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ def get_components_ids(component: typing.Union[str, dict, list]) -> typing.Itera
215215
yield component
216216
elif isinstance(component, dict):
217217
if component["type"] == ComponentType.actionrow:
218-
yield from (comp["custom_id"] for comp in component["components"] if "custom_id" in comp)
218+
yield from (
219+
comp["custom_id"] for comp in component["components"] if "custom_id" in comp
220+
)
219221
elif "custom_id" in component:
220222
yield component["custom_id"]
221223
elif isinstance(component, list):

0 commit comments

Comments
 (0)