Skip to content

Commit 97962f0

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent f21a4b8 commit 97962f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ui/view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def get_item(self, custom_id: str | int) -> Item | None:
385385
if not child:
386386
for i in self.children:
387387
if hasattr(i, "get_item"):
388-
if (child := i.get_item(custom_id)):
388+
if child := i.get_item(custom_id):
389389
return child
390390
return child
391391
return get(self.children, custom_id=custom_id)

0 commit comments

Comments
 (0)