Probable typo

This commit is contained in:
Gouvernathor 2023-11-17 02:07:57 +01:00
parent 38a94e774b
commit 87a77163de
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@ init python:
if sortby == "z-A":
item.sort(key=lambda x: natsort_key(x.name), reverse=True)
elif current_sorting == "Available":
elif sortby == "Available":
item.sort(key=lambda x: x.owned is True, reverse=True)
elif current_sorting == "Unavailable":
elif sortby == "Unavailable":
item.sort(key=lambda x: x.owned is False)
return item