Commit 149b18c4 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

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

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