Skip to content

Commit

Permalink
Add proper signature to statusbar on_close method
Browse files Browse the repository at this point in the history
  • Loading branch information
andfoy committed Oct 5, 2021
1 parent fa231af commit 74e7117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/statusbar/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def on_initialize(self):
self.add_status_widget(
self.clock_status, StatusBarWidgetPosition.Right)

def on_close(self):
def on_close(self, _unused):
self._statusbar.setVisible(False)

@on_plugin_available(plugin=Plugins.Preferences)
Expand Down

0 comments on commit 74e7117

Please sign in to comment.