From d631dcaff26632ad8b8b0fc4a5918271be0b215a Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Sat, 20 Nov 2021 18:10:12 +0200 Subject: [PATCH] Add type --- move_html_to_dir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move_html_to_dir b/move_html_to_dir index 9fefa47..67ebc03 100755 --- a/move_html_to_dir +++ b/move_html_to_dir @@ -26,7 +26,7 @@ def replace_links(path: Path, replacements: Dict[str, str]): def main(path: Path): - replacements = {} + replacements: Dict[str, str] = {} for p in path.glob("**/*.html"): if str(p.parent) == ".": # Don't convert top-level files.