More python 3 fixups.

This commit is contained in:
John Ralls
2018-03-22 15:08:22 -07:00
parent f05bbe2475
commit bea89a50ac
14 changed files with 121 additions and 121 deletions

View File

@@ -41,11 +41,11 @@ for pr in pl:
time = pr.get_time()
v=pr.get_value()
price = float(v.num)/v.denom
print time, source, price
print(time, source, price)
if len(pl) > 0:
v0 = pl[0].get_value()
print arm.get_fullname(), float(v0.num) / float(v0.denom )
print(arm.get_fullname(), float(v0.num) / float(v0.denom ))
session.end()
session.destroy()