Merge pull request #707 from kovaacs/fix-if-statement

fix misleading if statement
This commit is contained in:
mcarlton00 2023-02-16 21:40:51 -05:00 committed by GitHub
commit 59559ee1bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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