Fix imports
This commit is contained in:
parent
57a83f9fe2
commit
7fc29fb5f4
|
@ -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',
|
|
||||||
)
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue