diff options
Diffstat (limited to 'src/wikiget/parse.py')
| -rw-r--r-- | src/wikiget/parse.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wikiget/parse.py b/src/wikiget/parse.py index abe1419..99cb01c 100644 --- a/src/wikiget/parse.py +++ b/src/wikiget/parse.py @@ -15,10 +15,11 @@ # You should have received a copy of the GNU General Public License # along with Wikiget. If not, see <https://www.gnu.org/licenses/>. +from __future__ import annotations + import fileinput import logging from argparse import Namespace -from typing import Dict from urllib.parse import unquote, urlparse import wikiget @@ -59,7 +60,7 @@ def get_dest(dl: str, args: Namespace) -> File: return File(filename, dest, site_name) -def read_batch_file(batch_file: str) -> Dict[int, str]: +def read_batch_file(batch_file: str) -> dict[int, str]: dl_dict = {} if batch_file == "-": |
