mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-06 16:20:30 +00:00
Runs pyupgrade to Python 3.8+ and adds a hook for it
This commit is contained in:
1 parent
7909b30b4b
commit
3003bdd507
34 files changed
+113
-109
No files matched your search
@@ -55,7 +55,7 @@ class Command(BaseCommand):
|
||||
|
||||
for document in encrypted_files:
|
||||
|
||||
print("Decrypting {}".format(document).encode("utf-8"))
|
||||
print(f"Decrypting {document}".encode())
|
||||
|
||||
old_paths = [document.source_path, document.thumbnail_path]
|
||||
|
||||
|
||||
Reference in new issue
Block a user