From 95b8b123d70ee0cb386f76b1b7c784952166effc Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Sat, 20 Nov 2021 17:50:32 +0200 Subject: [PATCH] Make script compatible with earlier versions of Python --- 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 3a25bf1..e4bce0a 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: Dict[str, str] = {} + replacements = {} for p in path.glob("**/*.html"): if str(p.parent) == ".": # Don't convert top-level files.