mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[71] #870 fix for NoneType Error
This commit is contained in:
parent
e35feb45ef
commit
7e528bf7d0
2 changed files with 4 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.0-develop70
|
||||
1.17.0-develop71
|
||||
|
|
|
@ -1284,9 +1284,10 @@ class Plex(Library):
|
|||
if attr and attr not in values:
|
||||
values.append(attr)
|
||||
elif filter_attr in ["filepath", "folder"]:
|
||||
values = [loc for loc in item.locations]
|
||||
values = [loc for loc in item.locations if loc]
|
||||
else:
|
||||
values = [getattr(item, filter_actual)]
|
||||
test_value = getattr(item, filter_actual)
|
||||
values = [test_value] if test_value else []
|
||||
if util.is_string_filter(values, modifier, filter_data):
|
||||
return False
|
||||
elif filter_attr in builder.boolean_filters:
|
||||
|
|
Loading…
Reference in a new issue