Update genericSensor.py

fix path