This commit is contained in:
Robert Kaussow 2024-01-30 21:33:25 +01:00
parent 911502ad43
commit 9d2e5148c4
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 1 additions and 2 deletions

View File

@ -78,8 +78,7 @@ def _task_property_sorter(property1, property2):
return (v_1 > v_2) - (v_1 < v_2)
@staticmethod
def _get_property_sort_index(name: str) -> int:
def _get_property_sort_index(name):
"""Return the index of the property in the sorter."""
a_index = -1
for i, v in enumerate(SORTER_TASKS):