Fix imports

This commit is contained in:
Pavle Portic 2022-10-30 00:05:42 +02:00
parent 57a83f9fe2
commit 7fc29fb5f4
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
2 changed files with 2 additions and 11 deletions

View File

@ -1,10 +0,0 @@
from collections.abc import Sequence
from ytrssil.api import get_new_video_count, get_new_videos
from ytrssil.datatypes import Video
__all__: Sequence[str] = (
'Video',
'get_new_video_count',
'get_new_videos',
)

View File

@ -2,6 +2,7 @@ from collections.abc import Iterator
from os import execv, fork from os import execv, fork
from subprocess import PIPE, Popen from subprocess import PIPE, Popen
from sys import argv, stderr from sys import argv, stderr
from typing import Any
from inject import autoparams from inject import autoparams
@ -154,7 +155,7 @@ def mark_as_unwatched(client: Client) -> int:
return 0 return 0
def main(args: list[str] = argv) -> int: def main(args: list[str] = argv) -> Any:
setup_dependencies() setup_dependencies()
command: str command: str
try: try: