diff options
| -rw-r--r-- | Mailman/Cgi/handle_opts.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mailman/Cgi/handle_opts.py b/Mailman/Cgi/handle_opts.py index da133ca22..cdc564ce3 100644 --- a/Mailman/Cgi/handle_opts.py +++ b/Mailman/Cgi/handle_opts.py @@ -255,6 +255,10 @@ exactly what happened to provoke this error.<p>''' msg = 'You have successfully set your options.' try: list.SetUserDigest(user, digest_value) + # digest mode changed from on to off, so send the current digest + # to the user. + if digest_value == 0: + PrintResults('You may get one last digest.') except (Errors.MMAlreadyDigested, Errors.MMAlreadyUndigested): pass except Errors.MMCantDigestError: @@ -263,6 +267,4 @@ exactly what happened to provoke this error.<p>''' 'successfully set.' list.SetUserOption(user, mm_cfg.ConcealSubscription, conceal) PrintResults(msg) - - list.Unlock() |
