Skip to content
Snippets Groups Projects
Commit 5b50f82e authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Platform was eating wx import errors - now logs a warning if wx import fails

parent 540ade5e
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,7 @@ class Platform(notifier.Notifier):
import wx
self.__canHaveGui = wx.App.IsDisplayAvailable()
except ImportError:
log.warning('Could not import wx', exc_info=True)
self.__canHaveGui = False
# If one of the SSH_/VNC environment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment