Skip to content

Commit 8be5580

Browse files
author
ak-ambi
committed
Fix measurements sample
1 parent 26128a4 commit 8be5580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/sample_measurements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def main():
4949
current = client.current
5050
print("Measurements %s:" % description)
5151
for m in Measurement.MEASUREMENTS_TYPES:
52-
print("%s: %s" % (m, current.get_value(m)))
52+
print("%s: %s" % (m, current.values.get(m)))
5353

5454
loop = asyncio.get_event_loop()
5555
loop.run_until_complete(main())

0 commit comments

Comments
 (0)