Browse Source

fix flake8 test

hard-fail-on-bad-server-string
ThomasV 5 years ago
parent
commit
b90cbeb0ba
  1. 2
      electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py

2
electrum/gui/kivy/uix/dialogs/lightning_tx_dialog.py

@ -98,7 +98,7 @@ class LightningTxDialog(Factory.Popup):
self.app = app # type: ElectrumWindow
self.wallet = self.app.wallet
self._action_button_fn = lambda btn: None
self.is_sent = bool(tx_item['direction'] is 'sent')
self.is_sent = bool(tx_item['direction'] == 'sent')
self.description = tx_item['label']
self.timestamp = tx_item['timestamp']
self.date_str = datetime.fromtimestamp(self.timestamp).isoformat(' ')[:-3]

Loading…
Cancel
Save