mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
More python 3 fixups.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user