Merge pull request #2742 from mathiscode/patch-1
Fix minor typo in exporting labels
This commit is contained in:
@@ -2201,7 +2201,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||||||
if fileName:
|
if fileName:
|
||||||
with open(fileName, 'w+') as f:
|
with open(fileName, 'w+') as f:
|
||||||
json.dump(labels, f, indent=4, sort_keys=True)
|
json.dump(labels, f, indent=4, sort_keys=True)
|
||||||
self.show_message(_("Your labels where exported to") + " '%s'" % str(fileName))
|
self.show_message(_("Your labels were exported to") + " '%s'" % str(fileName))
|
||||||
except (IOError, os.error), reason:
|
except (IOError, os.error), reason:
|
||||||
self.show_critical(_("Electrum was unable to export your labels.") + "\n" + str(reason))
|
self.show_critical(_("Electrum was unable to export your labels.") + "\n" + str(reason))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user