diff options
| author | bwarsaw | 2001-05-01 06:04:59 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-01 06:04:59 +0000 |
| commit | b7e2ed85419ab7c357895b7b0b46e91b36dfd6bc (patch) | |
| tree | 97726d81adc4857e0411aab2abb1536af223d33a | |
| parent | 5ff1feee18810d98357646cb12a1cb614f1022ed (diff) | |
| download | mailman-b7e2ed85419ab7c357895b7b0b46e91b36dfd6bc.tar.gz mailman-b7e2ed85419ab7c357895b7b0b46e91b36dfd6bc.tar.zst mailman-b7e2ed85419ab7c357895b7b0b46e91b36dfd6bc.zip | |
main(): Utils.GetCharSet() requires the language as an argument.
| -rw-r--r-- | Mailman/Cgi/private.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py index 78a6cd794..444d2ee11 100644 --- a/Mailman/Cgi/private.py +++ b/Mailman/Cgi/private.py @@ -128,7 +128,8 @@ def main(): if not is_auth: # Output the password form - print 'Content-type: text/html; charset=' + Utils.GetCharSet() + '\n\n' + charset = Utils.GetCharSet(mlist.preferred_language) + print 'Content-type: text/html; charset=' + charset + '\n\n' while path and path[0] == '/': path=path[1:] # Remove leading /'s basepath = os.path.split(mlist.GetBaseArchiveURL())[0] |
