Fix for regex filter tag attribute

Creates now the correct filter with regex, by using the correct language annotation.
This commit is contained in:
jz1 2024-03-23 10:27:56 +01:00 committed by GitHub
parent 203e085037
commit 77960b4f9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2649,7 +2649,7 @@ class CollectionBuilder:
for name, key in names:
if name not in used and re.compile(reg).search(name):
used.append(name)
valid_list.append((name, key) if plex_search else key)
valid_list.append((name, key) if plex_search else name)
if not valid_list:
error = f"Plex Error: {attribute}: No matches found with regex pattern {data}"
if self.details["show_options"]: