You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/29 11:17:53 UTC

[incubator-ponymail-foal] 02/03: Permalink must not be None

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 3db55794c38c7d9cb28363cb3e0e50c828698f78
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jan 29 11:17:24 2022 +0000

    Permalink must not be  None
---
 server/plugins/messages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index 8d46284..bb7fd08 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -308,7 +308,7 @@ async def get_email_irt(
     return docs_returned
 
 
-async def get_source(session: plugins.session.SessionObject, permalink: str = None, raw=False):
+async def get_source(session: plugins.session.SessionObject, permalink: str, raw=False):
     """
         Get the source document for an email, or None