Update pressurelogging.py