aboutsummaryrefslogtreecommitdiff
path: root/src/wikiget
diff options
context:
space:
mode:
Diffstat (limited to 'src/wikiget')
-rw-r--r--src/wikiget/parse.py3
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}'.")