mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 03:26:50 +01:00
Remove emoji from storage-type changer
This commit is contained in:
parent
90cd9f3eb7
commit
d6d8537b69
1 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
for document in encrypted_files:
|
for document in encrypted_files:
|
||||||
|
|
||||||
print(coloured("🔓 Decrypting {}".format(document), "green"))
|
print(coloured("Decrypting {}".format(document), "green"))
|
||||||
|
|
||||||
old_paths = [document.source_path, document.thumbnail_path]
|
old_paths = [document.source_path, document.thumbnail_path]
|
||||||
raw_document = GnuPG.decrypted(document.source_file, passphrase)
|
raw_document = GnuPG.decrypted(document.source_file, passphrase)
|
||||||
|
|
@ -102,7 +102,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
for document in unencrypted_files:
|
for document in unencrypted_files:
|
||||||
|
|
||||||
print(coloured("🔒 Encrypting {}".format(document), "green"))
|
print(coloured("Encrypting {}".format(document), "green"))
|
||||||
|
|
||||||
old_paths = [document.source_path, document.thumbnail_path]
|
old_paths = [document.source_path, document.thumbnail_path]
|
||||||
with open(document.source_path, "rb") as raw_document:
|
with open(document.source_path, "rb") as raw_document:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue