mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
#551 Fix filter Error for ints
This commit is contained in:
parent
1c56b0665e
commit
d636da26eb
1 changed files with 4 additions and 1 deletions
|
@ -1848,7 +1848,10 @@ class CollectionBuilder:
|
|||
return False
|
||||
elif modifier in [".gt", ".gte", ".lt", ".lte"]:
|
||||
divider = 60000 if filter_attr == "duration" else 1
|
||||
if util.is_number_filter(getattr(item, filter_actual) / divider, modifier, filter_data):
|
||||
test_number = getattr(item, filter_actual)
|
||||
if not test_number:
|
||||
return False
|
||||
if util.is_number_filter(test_number / divider, modifier, filter_data):
|
||||
return False
|
||||
else:
|
||||
attrs = []
|
||||
|
|
Loading…
Reference in a new issue