mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Ignore case when checking the filter
This commit is contained in:
parent
40e48c9317
commit
6ae2676b8f
@ -597,7 +597,7 @@ class Source(models.Model):
|
|||||||
def is_regex_match(self, media_item_title):
|
def is_regex_match(self, media_item_title):
|
||||||
if not self.filter_text:
|
if not self.filter_text:
|
||||||
return True
|
return True
|
||||||
return bool(re.search(self.filter_text, media_item_title))
|
return bool(re.search(self.filter_text, media_item_title, re.I))
|
||||||
|
|
||||||
def get_index(self, type):
|
def get_index(self, type):
|
||||||
indexer = self.INDEXERS.get(self.source_type, None)
|
indexer = self.INDEXERS.get(self.source_type, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user