mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
code cleanup
This commit is contained in:
parent
5a84cc835a
commit
b44f8383e4
18 changed files with 208 additions and 101 deletions
|
|
@ -120,7 +120,7 @@ class Command(Renderable, BaseCommand):
|
|||
encrypted.write(GnuPG.encrypted(unencrypted))
|
||||
|
||||
else:
|
||||
print("Moving {} to {}".format(document_path, document.source_path))
|
||||
print(f"Moving {document_path} to {document.source_path}")
|
||||
shutil.copy(document_path, document.source_path)
|
||||
shutil.copy(thumbnail_path, document.thumbnail_path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue