PotentialHF.py minor fix