Skip to content

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

Clean up docstring to be properly rst

Daniel Quinn73e62600c2a5
diff --git a/src/documents/consumer.py b/src/documents/consumer.py
index 7d4f2facf..886b0dd69 100644
--- a/src/documents/consumer.py
+++ b/src/documents/consumer.py
@@ -226,8 +226,8 @@ class Consumer:
def _is_ready(self, doc):
"""
- Detect whether `doc` is ready to consume or if it's still being written
- to by the uploader.
+ Detect whether ``doc`` is ready to consume or if it's still being
+ written to by the uploader.
"""
t = os.stat(doc).st_mtime