Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: fold overflowing path text in sanity checker (#13426)

Trenton Hf50a021ef624
diff --git a/src/documents/management/commands/document_sanity_checker.py b/src/documents/management/commands/document_sanity_checker.py
index c8921d064..00f6dccb1 100644
--- a/src/documents/management/commands/document_sanity_checker.py
+++ b/src/documents/management/commands/document_sanity_checker.py
@@ -61,7 +61,7 @@ class Command(PaperlessCommand):
)
table.add_column("Level", width=7, no_wrap=True)
table.add_column("Document", min_width=20)
- table.add_column("Issue", ratio=1)
+ table.add_column("Issue", ratio=1, overflow="fold")
for doc_pk, doc_messages in messages.iter_messages():
if doc_pk is not None: