diff --git a/controller/sensors.py b/controller/sensors.py index 87c0766..bf43949 100644 --- a/controller/sensors.py +++ b/controller/sensors.py @@ -16,10 +16,6 @@ print 'Bacva puna: {}'.format(tankFull) SENSOR_TYPE = Adafruit_DHT.DHT11 controller_id = config.CONTROLLER_ID owner = "Controller: %s" % controller_id -else: - print 'usage: sudo ./sensors.py ' - print 'example: sudo ./sensors.py Send temperature for controller in config' - sys.exit(1) # Try to grab a sensor reading. Use the read_retry method which will retry up # to 15 times to get a sensor reading (waiting 2 seconds between each retry).