Changed CSV History export to UTF-8 labels
Japanese characters were causing history to be aborted halfway through export, so by changing the label to UTF-8 I was able to export the CSV properly.
This commit is contained in:
@@ -122,6 +122,7 @@ def csv_transaction(wallet):
|
|||||||
|
|
||||||
if tx_hash:
|
if tx_hash:
|
||||||
label, is_default_label = wallet.get_label(tx_hash)
|
label, is_default_label = wallet.get_label(tx_hash)
|
||||||
|
label = label.encode('utf-8')
|
||||||
else:
|
else:
|
||||||
label = ""
|
label = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user