mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix a variable name typo in Python binding gnc_pricedb_lookup_latest_before_t64
commodit -> commodity
This commit is contained in:
parent
c2472936ca
commit
79d5270c9d
@ -505,7 +505,7 @@ class GncPriceDB(GnuCashCoreClass):
|
||||
|
||||
@deprecated("Use gnc_pricedb_latest_before_t64")
|
||||
def gnc_pricedb_lookup_latest_before_t64(self, commodity, currency, date):
|
||||
return self.lookup_nearest_before_t64(commodit, currency,date)
|
||||
return self.lookup_nearest_before_t64(commodity, currency, date)
|
||||
|
||||
GncPriceDB.add_method('gnc_pricedb_lookup_latest_before_t64', 'lookup_latest_before_t64')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user