fixed bug in temperature reader
This commit is contained in:
@@ -12,7 +12,7 @@ if len(sys.argv) == 2:
|
|||||||
owner = sys.argv[1]
|
owner = sys.argv[1]
|
||||||
else:
|
else:
|
||||||
print 'usage: sudo ./conntroler.py [OWNER]#'
|
print 'usage: sudo ./conntroler.py [OWNER]#'
|
||||||
print 'example: sudo ./controller.py Senad - Send temperature as Senad
|
print 'example: sudo ./controller.py Senad - Send temperature as Senad'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Try to grab a sensor reading. Use the read_retry method which will retry up
|
# Try to grab a sensor reading. Use the read_retry method which will retry up
|
||||||
|
|||||||
Reference in New Issue
Block a user