Skip to content

Commit bec1ef9

Browse files
committed
Fixes for linter
1 parent 1348fd8 commit bec1ef9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

bundledApps/WAIL.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -2396,6 +2396,7 @@ def __init__(self, title, parent=None):
23962396
wx.Frame.__init__(self, parent=parent, title=title)
23972397
self.Show()
23982398

2399+
23992400
class WAILStatusBar(wx.StatusBar):
24002401
def __init__(self, parent):
24012402
wx.StatusBar.__init__(self, parent, -1)
@@ -2404,7 +2405,7 @@ def __init__(self, parent):
24042405
self.SetFieldsCount(2)
24052406
self.SetStatusWidths([-2, 30])
24062407
self.sb_button = wx.Button(
2407-
self, wx.ID_ANY, "", style=wx.BU_EXACTFIT|wx.BORDER_NONE
2408+
self, wx.ID_ANY, "", style=wx.BU_EXACTFIT | wx.BORDER_NONE
24082409
)
24092410

24102411
self.msg = ''
@@ -2432,18 +2433,19 @@ def press_button(self, _):
24322433
if local_wayback_accessible:
24332434
self.msg = config.text_statusbar_no_captures
24342435
elif self.msg == config.text_statusbar_wayback_not_running:
2435-
self.msg = config.text_statusbar_fixing_wayback
2436+
self.msg = config.text_statusbar_fixing_wayback
24362437

2437-
Wayback().fix(self.press_button)
2438-
pub.sendMessage('recheck_uri_in_basic_interface')
2439-
return
2438+
Wayback().fix(self.press_button)
2439+
pub.sendMessage('recheck_uri_in_basic_interface')
2440+
return
24402441
else:
24412442
self.msg = config.text_statusbar_wayback_not_running
24422443

24432444
pub.sendMessage('change_statusbar', msg=self.msg,
24442445
includes_local=local_wayback_accessible)
24452446
pass
24462447

2448+
24472449
class InvalidSelectionContextException(Exception):
24482450
"""raise when attempt to create a context menu without context"""
24492451

0 commit comments

Comments
 (0)