mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
is instead of == None
correction found in Flake test
This commit is contained in:
parent
ecefdbba6a
commit
945f14fe3a
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class Video(PlexPartialObject):
|
|||
tagKeys = ["Mobile", "TV", "Original Quality"]
|
||||
tagIDs = tagKeys + tagValues
|
||||
|
||||
if targetTagID not in tagIDs and (deviceProfile == None or videoQuality == None):
|
||||
if targetTagID not in tagIDs and (deviceProfile is None or videoQuality is None):
|
||||
raise BadRequest('Unexpected or missing quality profile.')
|
||||
|
||||
if isinstance(targetTagID, str):
|
||||
|
|
Loading…
Reference in a new issue