mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 17:55:20 +00:00
fix #4216
This commit is contained in:
parent
10a0b0ad7f
commit
4703d93b0f
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
|
||||||
lines.append([item['txid'], item.get('label', ''), item['confirmations'], item['value'], item['date']])
|
lines.append([item['txid'], item.get('label', ''), item['confirmations'], item['value'], item['date']])
|
||||||
else:
|
else:
|
||||||
lines.append(item)
|
lines.append(item)
|
||||||
with open(fileName, "w+") as f:
|
with open(fileName, "w+", encoding='utf-8') as f:
|
||||||
if is_csv:
|
if is_csv:
|
||||||
import csv
|
import csv
|
||||||
transaction = csv.writer(f, lineterminator='\n')
|
transaction = csv.writer(f, lineterminator='\n')
|
||||||
|
|
Loading…
Add table
Reference in a new issue