diff options
author | Mark Sapiro <mark@msapiro.net> | 2017-02-22 22:05:56 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2017-02-22 22:05:56 -0800 |
commit | b3b302042d527deeeb87605ad22e7185d0beae20 (patch) | |
tree | 0f11859c7ad0e95bb67e812e251acf6a7b1e6a20 /Mailman/Cgi | |
parent | f6a1a582337e333e57824450898622d1a65d8f2a (diff) | |
download | mailman2-b3b302042d527deeeb87605ad22e7185d0beae20.tar.gz mailman2-b3b302042d527deeeb87605ad22e7185d0beae20.tar.xz mailman2-b3b302042d527deeeb87605ad22e7185d0beae20.zip |
Fixed an uncaught TypeError in the subscribe CGI.
Diffstat (limited to 'Mailman/Cgi')
-rwxr-xr-x | Mailman/Cgi/subscribe.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |