Allow transactions with no ID to be sent on IRC
This commit is contained in:
parent
f78c351e75
commit
38c82862a4
|
@ -810,7 +810,10 @@ class IRCCommands(object):
|
|||
account_id = spl[1]
|
||||
transactions = tx.sinks.nordigen.get_transactions(account_id)
|
||||
for transaction in transactions:
|
||||
if "transaction_id" in transaction:
|
||||
txid = transaction["transaction_id"]
|
||||
else:
|
||||
txid = "not_set"
|
||||
timestamp = transaction["timestamp"]
|
||||
amount = transaction["amount"]
|
||||
currency = transaction["currency"]
|
||||
|
|
Loading…
Reference in New Issue