Update amprupdate.py

some versions of Python prefer 1 instead of True.
correcting indentation.