Lowercase destination to avoid duplicate cache results
This commit is contained in:
parent
7781832fbd
commit
ae3dc2db75
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class DbrandCog(commands.Cog):
|
||||||
]
|
]
|
||||||
if len(matches) > 0:
|
if len(matches) > 0:
|
||||||
search = matches[0]
|
search = matches[0]
|
||||||
dest = search
|
dest = search.lower()
|
||||||
data = self.cache.get(dest, None)
|
data = self.cache.get(dest, None)
|
||||||
if not data:
|
if not data:
|
||||||
api_link = self.api_url + dest
|
api_link = self.api_url + dest
|
||||||
|
|
Loading…
Add table
Reference in a new issue