From b3b302042d527deeeb87605ad22e7185d0beae20 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 22 Feb 2017 22:05:56 -0800 Subject: Fixed an uncaught TypeError in the subscribe CGI. --- Mailman/Cgi/subscribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Cgi/subscribe.py') diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py index 36d25fa2..b2f8925e 100755 --- a/Mailman/Cgi/subscribe.py +++ b/Mailman/Cgi/subscribe.py @@ -185,7 +185,7 @@ def process_form(mlist, doc, cgidata, lang): if digestflag: try: digest = int(digestflag) - except ValueError: + except (TypeError, ValueError): digest = 0 else: digest = mlist.digest_is_default -- cgit v1.2.3