diff options
| author | 2022-09-18 18:07:24 +0100 | |
|---|---|---|
| committer | 2022-09-18 18:07:24 +0100 | |
| commit | 3fd28f44eb8857c6409e739eab9cdc307d1febe9 (patch) | |
| tree | e3fed43f74677de0bf647bfab881725a8b362fd3 | |
| parent | remove duplicate final rule numbers then sort (diff) | |
remove useless initial sorting of keywords
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/info/information.py | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py index cbee1a519..b453a87cb 100644 --- a/bot/exts/info/information.py +++ b/bot/exts/info/information.py @@ -555,8 +555,6 @@ class Information(Cog):          # Remove duplicates and sort the rule indices          rule_numbers = sorted(set(rule_numbers)) -        # Remove duplicate keywords and preserve the order of initial keywords -        keywords = list(dict.fromkeys(keywords))          invalid = ", ".join(              str(rule_number) for rule_number in rule_numbers | 
