Merge pull request #593 from BastianPoe/feature-293

Give stored documents a structured and configurable filename
This commit is contained in:
JOKer
2020-05-02 08:33:49 +02:00
committed by GitHub
7 changed files with 878 additions and 5 deletions

View File

@@ -239,6 +239,9 @@ class Consumer:
self._write(document, doc, document.source_path)
self._write(document, thumbnail, document.thumbnail_path)
document.set_filename(document.source_filename)
document.save()
self.log("info", "Completed")
return document