Update PuPyBF.py

Let the generate() stop at the hex format !