From 7a26a88bf698f3d230ce652481e02cf87fc5e837 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Fri, 27 Oct 2023 11:50:25 -0700 Subject: Fix ttest errors in Python 3.7 and 3.8 --- src/wikiget/parse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wikiget') diff --git a/src/wikiget/parse.py b/src/wikiget/parse.py index 998136a..9bad59a 100644 --- a/src/wikiget/parse.py +++ b/src/wikiget/parse.py @@ -17,6 +17,7 @@ import logging from argparse import Namespace +from typing import Dict from urllib.parse import unquote, urlparse import wikiget @@ -61,7 +62,7 @@ def get_dest(dl: str, args: Namespace) -> File: return file -def read_batch_file(batch_file: str) -> dict[int, str]: +def read_batch_file(batch_file: str) -> Dict[int, str]: dl_list = {} logger.info(f"Using batch file '{batch_file}'.") -- cgit v1.2.3