We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc9757 commit f93332bCopy full SHA for f93332b
docling_core/types/doc/document.py
@@ -2037,7 +2037,7 @@ def _get_output_paths(
2037
if artifacts_dir is None:
2038
# Remove the extension and add '_pictures'
2039
artifacts_dir = filename.with_suffix("")
2040
- artifacts_dir = artifacts_dir.with_name(artifacts_dir.stem + "_artifacts")
+ artifacts_dir = artifacts_dir.with_name(artifacts_dir.name + "_artifacts")
2041
if artifacts_dir.is_absolute():
2042
reference_path = None
2043
else:
0 commit comments