else/except typo

pull/126/head
alanbjohnston 5 years ago committed by GitHub
parent c9fd5e0446
commit 8612116e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,7 +155,7 @@ if __name__ == "__main__":
while (True):
try:
print("{:6.3f} ".format(ina219_one.bus_voltage), "{:6.3f} ".format(ina219_one.current) , end = '')
else:
except:
print("{:6.3f} ".format(0), "{:6.3f} ".format(0), end = '')
try:
print("{:6.3f} ".format(ina219_two.bus_voltage), "{:6.3f} ".format(ina219_two.current) , end = '')

Loading…
Cancel
Save

Powered by TurnKey Linux.