fix dot in name
This commit is contained in:
@@ -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,)
|
||||
)
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user