Skip to content

Commit d8d9894

Browse files
committed
Redundant set cast
1 parent 0984643 commit d8d9894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_potential(iterable, *, threshold=80):
2222
if a >= threshold or b >= threshold:
2323
yield item
2424

25-
all_names = set(self.snakes.keys() | self.snakes.values())
25+
all_names = self.snakes.keys() | self.snakes.values()
2626
timeout = len(all_names) * (3 / 4)
2727

2828
name = await disambiguate(ctx, list(get_potential(all_names)), timeout=timeout)

0 commit comments

Comments
 (0)