mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Broke the consumer script into separate files and started on a mail consumer
This commit is contained in:
parent
84d5f8cc5d
commit
a70b40f618
8 changed files with 378 additions and 230 deletions
|
|
@ -47,7 +47,7 @@ class Command(BaseCommand):
|
|||
self._render("Exporting: {}".format(target), 1)
|
||||
|
||||
with open(target, "wb") as f:
|
||||
f.write(GnuPG.decrypted(document.pdf))
|
||||
f.write(GnuPG.decrypted(document.source_file))
|
||||
t = int(time.mktime(document.created.timetuple()))
|
||||
os.utime(target, times=(t, t))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue