mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Fix bugs due to metadata ids behing ints instead of strings
This commit is contained in:
parent
1b140661ba
commit
8318a87d5d
@ -1,6 +1,5 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import logging
|
import logging
|
||||||
from sys import orig_argv
|
|
||||||
from aiohttp import ClientSession
|
from aiohttp import ClientSession
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from typing import Awaitable, Callable, Dict, List, Optional, Any, TypeVar
|
from typing import Awaitable, Callable, Dict, List, Optional, Any, TypeVar
|
||||||
|
@ -6,3 +6,6 @@ from typing import Optional
|
|||||||
class MetadataID:
|
class MetadataID:
|
||||||
data_id: str
|
data_id: str
|
||||||
link: Optional[str]
|
link: Optional[str]
|
||||||
|
|
||||||
|
def __post_init__(self):
|
||||||
|
self.data_id = str(self.data_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user