is instead of == None

correction found in Flake test
This commit is contained in:
blacktwin 2020-02-25 16:50:08 -05:00
parent ecefdbba6a
commit 945f14fe3a

View file

@ -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):