Update pressureThing.py

changed scope of variables