diff --git a/scanner/providers/implementations/themoviedatabase.py b/scanner/providers/implementations/themoviedatabase.py index a0882371..587ecd64 100644 --- a/scanner/providers/implementations/themoviedatabase.py +++ b/scanner/providers/implementations/themoviedatabase.py @@ -1,6 +1,5 @@ import asyncio import logging -from sys import orig_argv from aiohttp import ClientSession from datetime import datetime, timedelta from typing import Awaitable, Callable, Dict, List, Optional, Any, TypeVar diff --git a/scanner/providers/types/metadataid.py b/scanner/providers/types/metadataid.py index 87bfc915..a4944400 100644 --- a/scanner/providers/types/metadataid.py +++ b/scanner/providers/types/metadataid.py @@ -6,3 +6,6 @@ from typing import Optional class MetadataID: data_id: str link: Optional[str] + + def __post_init__(self): + self.data_id = str(self.data_id)