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):