Traceback (most recent call last):
File "/home/pi/osman/main.py", line 21, in <module>
device_path = glob.glob(base_dir + '28*')[0] #get file path of sensor
IndexError: list index out of range