diff --git a/get-definitions.py b/get-definitions.py index 2a596f4..b2ac47c 100644 --- a/get-definitions.py +++ b/get-definitions.py @@ -89,7 +89,7 @@ def process_definition_page(soup, form, variant): def save_definition(name, variant, content): - def_dir = Path.cwd() / name + def_dir = Path.cwd() / name.rstrip(".") # fucking ntfs def_dir.mkdir(exist_ok=True) def_file_path = def_dir / f"{variant}.txt" try: