diff options
| author | Cody Logan <cody@lokken.dev> | 2023-10-27 11:50:25 -0700 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-10-27 11:50:25 -0700 |
| commit | 7a26a88bf698f3d230ce652481e02cf87fc5e837 (patch) | |
| tree | 944d1c7def2fecaae32ec75a3caf0d2b8995d8df | |
| parent | d166d45cf716b933a46281cbef82ed1cab8c224a (diff) | |
| download | wikiget-7a26a88bf698f3d230ce652481e02cf87fc5e837.tar.gz wikiget-7a26a88bf698f3d230ce652481e02cf87fc5e837.zip | |
Fix ttest errors in Python 3.7 and 3.8
| -rw-r--r-- | src/wikiget/parse.py | 3 |
1 files changed, 2 insertions, 1 deletions
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}'.") |
