1
0

fix flake8 test

This commit is contained in:
ThomasV
2020-02-18 14:05:28 +01:00
parent 6696f40e36
commit b90cbeb0ba

View File

@@ -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]