Fix optional playlist type.
@@ -631,7 +631,7 @@ def update_playlist(self, name: str, items: List[Union[Movie, Show, Episode]]) -
"""
Updates playlist (creates if name missing) replacing contents with items[]
"""
- playlist: Playlist = None
+ playlist: Optional[Playlist] = None
try:
playlist = self.plex.playlist(name)
except NotFound:
