This commit is contained in:
SomberNight 2018-04-02 19:54:01 +02:00
parent 10a0b0ad7f
commit 4703d93b0f
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -411,7 +411,7 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
lines.append([item['txid'], item.get('label', ''), item['confirmations'], item['value'], item['date']])
else:
lines.append(item)
with open(fileName, "w+") as f:
with open(fileName, "w+", encoding='utf-8') as f:
if is_csv:
import csv
transaction = csv.writer(f, lineterminator='\n')