diff options
Diffstat (limited to 'Mailman/Utils.py')
| -rw-r--r-- | Mailman/Utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index a14ff8947..b54fee7ba 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -410,7 +410,7 @@ def SetSiteAdminPassword(pw): def CheckSiteAdminPassword(response): try: fp = open(mm_cfg.SITE_PW_FILE) - challenge = fp.read()[-1] # strip off trailing nl + challenge = fp.read()[:-1] # strip off trailing nl fp.close() except IOError, e: if e.errno <> errno.ENOENT: raise |
