mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-26 20:37:23 +00:00
Fix for regex filter when language is unknown
Fix for when with the regex filter, the language is unknown. It will check now first if its a string.
This commit is contained in:
parent
a92ee5de67
commit
4eff61502f
1 changed files with 3 additions and 2 deletions
|
@ -1822,6 +1822,7 @@ class Plex(Library):
|
||||||
has_match = False
|
has_match = False
|
||||||
for reg in filter_data:
|
for reg in filter_data:
|
||||||
for name in attrs:
|
for name in attrs:
|
||||||
|
if isinstance(name, str)::
|
||||||
if re.compile(reg).search(name):
|
if re.compile(reg).search(name):
|
||||||
has_match = True
|
has_match = True
|
||||||
if has_match is False:
|
if has_match is False:
|
||||||
|
|
Loading…
Add table
Reference in a new issue