fix if statement

('Season') is just a string in parentheses, not a tuple
This commit is contained in:
Marcell Kovács 2023-02-07 17:52:28 +01:00
parent 0a7faff2b9
commit 3797ee228a
No known key found for this signature in database

View file

@ -129,7 +129,7 @@ class Context(object):
'''
options = []
if self.item['Type'] not in ('Season'):
if self.item['Type'] != 'Season':
if self.item['UserData'].get('IsFavorite'):
options.append(OPTIONS['RemoveFav'])