mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
Indent if err:
check after plugin dashboard invocation
Adding a mypy-make-happy conditional on the call above means `err` needs to be inside that as well.
This commit is contained in:
parent
5d1eb9e3b1
commit
81a8122c59
@ -1550,10 +1550,10 @@ class AppWindow(object):
|
||||
if monitor.cmdr:
|
||||
err = plug.notify_dashboard_entry(monitor.cmdr, monitor.is_beta, entry)
|
||||
|
||||
if err:
|
||||
self.status['text'] = err
|
||||
if not config.get_int('hotkey_mute'):
|
||||
hotkeymgr.play_bad()
|
||||
if err:
|
||||
self.status['text'] = err
|
||||
if not config.get_int('hotkey_mute'):
|
||||
hotkeymgr.play_bad()
|
||||
|
||||
def plugin_error(self, event=None) -> None:
|
||||
"""Display asynchronous error from plugin."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user