From 313fd12486b9b550f5145e1dcf6d52919e1144ba Mon Sep 17 00:00:00 2001 From: Laurynas Biveinis Date: Tue, 12 Nov 2024 15:19:08 +0200 Subject: [PATCH] goindex2qif: fix --- scripts/usr/bin/goindex2qif | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/usr/bin/goindex2qif b/scripts/usr/bin/goindex2qif index aadcc5932..1a867de1b 100755 --- a/scripts/usr/bin/goindex2qif +++ b/scripts/usr/bin/goindex2qif @@ -63,7 +63,7 @@ with open(args.output, "w", encoding='utf-8') as output_file: fee = row['Mokestis'] op = str(row['Fondo vnt. operacija']) if op == match_2pf_fund_source: - amount = row['Įmokos/Išmokos'].replace(",", ".") + amount = str(row['Įmokos/Išmokos']).replace(",", ".") qif_trx = QIFInvestmentTransaction(date, security_2pf, fee, amount, unit_price, count) output_file.write(f"D{date}\n")