Update bywaf.py

changed the try-except clause