Fix plug.show_error() displayed message

This commit is contained in:
Jonathan Harris committed 2017-08-14 16:05:32 +01:00
1 parent 965c6c9afb
commit e309bc9dec
1 file changed
+2 -2
+2 -2
View File
@@ -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()