From 387cfafa5a86cf815d9030a46b2986bf00fc8b94 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 15 Sep 2018 18:07:34 -0500 Subject: [PATCH] Fix patch make a case insensitive search --- resources/lib/helper/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/helper/utils.py b/resources/lib/helper/utils.py index 093d65a3..775cf19e 100644 --- a/resources/lib/helper/utils.py +++ b/resources/lib/helper/utils.py @@ -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):