commit 189d21142927c00b5e92b8c6592d45e64ed40f80
parent 82746c20fb667fb0f8aed4aaa07a45e9e8248f8d
Author: ThomasV <electrumdev@gmail.com>
Date: Sun, 25 Jan 2015 09:43:17 +0100
Merge pull request #987 from dabura667/fixcsvhistory
Fix the line terminator in csv
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -2507,7 +2507,7 @@ class ElectrumWindow(QMainWindow):
with open(fileName, "w+") as f:
if is_csv:
- transaction = csv.writer(f)
+ transaction = csv.writer(f, lineterminator='\n')
transaction.writerow(["transaction_hash","label", "confirmations", "value", "fee", "balance", "timestamp"])
for line in lines:
transaction.writerow(line)