mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[84] #736 fix for 0 filters
This commit is contained in:
parent
47289b922d
commit
a18be7a305
2 changed files with 2 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
1.15.1-develop83
|
1.15.1-develop84
|
||||||
|
|
|
@ -2024,9 +2024,7 @@ class CollectionBuilder:
|
||||||
if modifier in [".count_gt", ".count_gte", ".count_lt", ".count_lte"]:
|
if modifier in [".count_gt", ".count_gte", ".count_lt", ".count_lte"]:
|
||||||
test_number = len(test_number) if test_number else 0
|
test_number = len(test_number) if test_number else 0
|
||||||
modifier = f".{modifier[7:]}"
|
modifier = f".{modifier[7:]}"
|
||||||
elif not test_number:
|
if test_number is None or util.is_number_filter(test_number / divider, modifier, filter_data):
|
||||||
return False
|
|
||||||
if util.is_number_filter(test_number / divider, modifier, filter_data):
|
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
attrs = []
|
attrs = []
|
||||||
|
|
Loading…
Reference in a new issue