Show More
@@ -235,7 +235,7 b' def ValidPassword():' | |||
|
235 | 235 | |
|
236 | 236 | def _validate_python(self, value, state): |
|
237 | 237 | try: |
|
238 |
(value or ''). |
|
|
238 | (value or '').encode('ascii') | |
|
239 | 239 | except UnicodeError: |
|
240 | 240 | msg = self.message('invalid_password', state) |
|
241 | 241 | raise formencode.Invalid(msg, value, state,) |
General Comments 0
You need to be logged in to leave comments.
Login now