removed line for #66

pull/103/head
meisnate12 4 years ago
parent e0d1056e70
commit 65ffa94534

@ -136,7 +136,6 @@ class PlexAPI:
logger.warning(f"Collection Warning: {method} attribute will run as {method_name}") logger.warning(f"Collection Warning: {method} attribute will run as {method_name}")
else: else:
method_name = method method_name = method
method_name = util.filter_alias[filter_method[:-4]] if modifier in [".not", ".lte", ".gte"] else util.filter_alias[filter_method]
if method_name == "max_age": if method_name == "max_age":
threshold_date = datetime.now() - timedelta(days=filter_data) threshold_date = datetime.now() - timedelta(days=filter_data)
if current.originallyAvailableAt is None or current.originallyAvailableAt < threshold_date: if current.originallyAvailableAt is None or current.originallyAvailableAt < threshold_date:

Loading…
Cancel
Save