diff --git a/utils/videos.py b/utils/videos.py index b41dfa7..eeb87d5 100755 --- a/utils/videos.py +++ b/utils/videos.py @@ -1,4 +1,5 @@ import json +from typing import Union from os import getenv from utils.console import print_step @@ -6,9 +7,8 @@ from utils.console import print_step def check_done( redditobj: dict[str], -) -> dict[ - str -] | None: # don't set this to be run anyplace that isn't subreddit.py bc of inspect stack +) -> Union[dict[str], None]: + # don't set this to be run anyplace that isn't subreddit.py bc of inspect stack """Checks if the chosen post has already been generated Args: