Fix optional playlist type.
MODIFY
plextraktsync/plex_api.py
plextraktsync/plex_api.py
@@ -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:

Fix optional playlist type. #1188