diff options
Diffstat (limited to '')
-rwxr-xr-x | cron/checkdbs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cron/checkdbs b/cron/checkdbs index e2b2ebfd..c31da397 100755 --- a/cron/checkdbs +++ b/cron/checkdbs @@ -117,8 +117,11 @@ def main(): 'real_name': realname, }, mlist=mlist) text += '\n' + pending_requests(mlist) - subject = _( - '%(realname)s moderator requests notice') + subject = _( + '%(count)d %(realname)s moderator request(s) waiting') + else: + subject = _( + '%(realname)s moderator request check result') msg = Message.UserNotification(mlist.GetOwnerEmail(), mlist.GetBouncesEmail(), subject, text, @@ -131,7 +134,6 @@ def main(): def pending_requests(mlist): - lcset = Utils.GetCharSet(mlist.preferred_language) # Must return a byte string lcset = Utils.GetCharSet(mlist.preferred_language) pending = [] |