Mailman CAPTCHA: rename displayhtml -> display
[ansible.git] / roles / email / files / mailman-patched / Cgi / listinfo.py
index 0ce6393f5b3d8343e7634f1754cd2f26827d4e93..b46bab149c87d83f2b81bb7d2e713dd3b1d70398 100644 (file)
@@ -221,7 +221,7 @@ def list_listinfo(mlist, lang):
             #        for our hash so it doesn't matter.
             remote = remote.rsplit(':', 1)[0]
         # get CAPTCHA data
-        (captcha_question, captcha_box, captcha_idx) = Captcha.displayhtml(mlist, mm_cfg.CAPTCHAS)
+        (captcha_question, captcha_box, captcha_idx) = Captcha.display(mlist, mm_cfg.CAPTCHAS)
         replacements['<mm-captcha-question>'] = captcha_question
         replacements['<mm-captcha-box>'] = captcha_box
         # fill form