From d797e655c60fcddb3bed2ab1e4ed75e48a7f8523 Mon Sep 17 00:00:00 2001 From: Wolfang Torres Date: Sat, 20 Jun 2026 12:03:01 +0800 Subject: [PATCH] fix dot in name --- src/anki_hsk_creator/anki_generation.py | 1 + src/anki_hsk_creator/utility.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/anki_hsk_creator/anki_generation.py b/src/anki_hsk_creator/anki_generation.py index 7167a53..8c3ea85 100644 --- a/src/anki_hsk_creator/anki_generation.py +++ b/src/anki_hsk_creator/anki_generation.py @@ -127,6 +127,7 @@ def output_anki_dictionary( ) -> Path: """Creates an anki file from a dictionary results""" final_file = process_file.output_name.with_suffix(".apkg") + print() deck_name = "::".join( process_file.input_file.parts[:-1] + (process_file.output_name.stem,) ) diff --git a/src/anki_hsk_creator/utility.py b/src/anki_hsk_creator/utility.py index a4ca5eb..26a6e8f 100644 --- a/src/anki_hsk_creator/utility.py +++ b/src/anki_hsk_creator/utility.py @@ -177,7 +177,7 @@ class ProcessFile: """Posible name for the output file, still missing the filetype""" if self.language_id is None: raise ValueError("Not a valid language selected") - return self.out_folder / f"{self.input_file.stem}.{self.language_id}." + return self.out_folder / f"{self.input_file.stem}.{self.language_id}.temp" @property def dictionary_resource_file(self):