Passwds.py:fixed raise error