mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix patch
make a case insensitive search
This commit is contained in:
parent
556a6e4f8e
commit
387cfafa5a
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ def find(dict, item):
|
|||
return dict[item]
|
||||
|
||||
for key,value in sorted(dict.iteritems(), key=lambda (k,v): (v,k)):
|
||||
if re.match(key, item):
|
||||
|
||||
if re.match(key, item, re.I):
|
||||
return dict[key]
|
||||
|
||||
def event(method, data=None):
|
||||
|
|
Loading…
Reference in a new issue