Pragmatismo/Pigrow

Modular Sensors: Error when trying to add sht31d

Opened this issue · 0 comments

0-st commented
 Importing module; sht31d
Traceback (most recent call last):
  File "/Pigrow/scripts/gui/pigrow_remote.py", line 12322, in add_modular_sensor_click
    add_module_sensor = add_sensor_from_module_dialog(None)
  File "/Pigrow/scripts/gui/pigrow_remote.py", line 12429, in __init__
    self.InitUI()
  File "/Pigrow/scripts/gui/pigrow_remote.py", line 12448, in InitUI
    self.import_sensor_module()
  File "/Pigrow/scripts/gui/pigrow_remote.py", line 12660, in import_sensor_module
    exec('import ' + module_name + ' as sensor_module', globals())
  File "<string>", line 1, in <module>
  File "/Pigrow/scripts/gui/sensor_modules/sensor_sht31d.py", line 49
    sensor_location = ""
                        ^
IndentationError: unindent does not match any outer indentation level