From 420a50672067b1a736a30c2f671fcf43495c4df0 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Wed, 1 Nov 2023 13:33:39 -0700 Subject: Rename some symbols and functions to better match their purpose --- src/wikiget/parse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wikiget/parse.py') diff --git a/src/wikiget/parse.py b/src/wikiget/parse.py index 122c45f..892f0f0 100644 --- a/src/wikiget/parse.py +++ b/src/wikiget/parse.py @@ -60,7 +60,7 @@ def get_dest(dl: str, args: Namespace) -> File: def read_batch_file(batch_file: str) -> Dict[int, str]: - dl_list = {} + dl_dict = {} if batch_file == "-": logger.info("Using stdin for batch download") @@ -73,6 +73,6 @@ def read_batch_file(batch_file: str) -> Dict[int, str]: line_s = line.strip() # ignore blank lines and lines starting with "#" (for comments) if line_s and not line_s.startswith("#"): - dl_list[line_num] = line_s + dl_dict[line_num] = line_s - return dl_list + return dl_dict -- cgit v1.2.3