mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
Corona: case insensitive search
This commit is contained in:
parent
d67da5d738
commit
edc9c625f7
@ -74,7 +74,7 @@ class Corona(callbacks.Plugin):
|
||||
|
||||
if search:
|
||||
name = r.get('Country_Region')
|
||||
if 'china' in search:
|
||||
if 'china' in search.lower():
|
||||
search = 'mainland china'
|
||||
if search.lower() == name.lower():
|
||||
location = name
|
||||
|
Loading…
x
Reference in New Issue
Block a user