Skip to content

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

Set default empty PAPERLESS_EMAIL_SECRET

Erik Arvstedt4babfa1a5b28
diff --git a/src/documents/mail.py b/src/documents/mail.py
index 7cc417bfd..f1a84d8e0 100644
--- a/src/documents/mail.py
+++ b/src/documents/mail.py
@@ -42,7 +42,7 @@ class Message(Loggable):
and n attachments, and that we don't care about the message body.
"""
- SECRET = os.getenv("PAPERLESS_EMAIL_SECRET")
+ SECRET = os.getenv("PAPERLESS_EMAIL_SECRET", "")
def __init__(self, data, group=None):
"""