mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-10-27 01:16:06 +03:00
Fix plug.show_error() displayed message
This commit is contained in:
1 parent
965c6c9afb
commit
e309bc9dec
1 file changed
+2
-2
@@ -728,8 +728,8 @@ class AppWindow:
|
||||
|
||||
# Display asynchronous error from plugin
|
||||
def plugin_error(self, event=None):
|
||||
if plug.last_error['msg']:
|
||||
self.status['text'] = plug.last_error
|
||||
if plug.last_error.get('msg'):
|
||||
self.status['text'] = plug.last_error['msg']
|
||||
self.w.update_idletasks()
|
||||
if not config.getint('hotkey_mute'):
|
||||
hotkeymgr.play_bad()
|
||||
|
||||
Reference in new issue
Block a user