Skip to content

Commit

Permalink
fix if statement
Browse files Browse the repository at this point in the history
('Season') is just a string in parentheses, not a tuple
  • Loading branch information
kovaacs committed Feb 7, 2023
1 parent 0a7faff commit 3797ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jellyfin_kodi/entrypoint/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def select_menu(self):
'''
options = []

if self.item['Type'] not in ('Season'):
if self.item['Type'] != 'Season':

if self.item['UserData'].get('IsFavorite'):
options.append(OPTIONS['RemoveFav'])
Expand Down

0 comments on commit 3797ee2

Please sign in to comment.