Remove platform-specific CREST checks (add for mac-deprecated client)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# noinspection PyPackageRequirements
|
||||
import wx
|
||||
|
||||
__all__ = [
|
||||
"pyfaGeneralPreferences",
|
||||
"pyfaHTMLExportPreferences",
|
||||
@@ -10,7 +7,6 @@ __all__ = [
|
||||
"pyfaLoggingPreferences",
|
||||
"pyfaEnginePreferences",
|
||||
"pyfaStatViewPreferences",
|
||||
"pyfaCrestPreferences"
|
||||
]
|
||||
|
||||
if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)):
|
||||
__all__.append("pyfaCrestPreferences")
|
||||
|
||||
@@ -11,8 +11,7 @@ from service.settings import CRESTSettings
|
||||
# noinspection PyPackageRequirements
|
||||
from wx.lib.intctrl import IntCtrl
|
||||
|
||||
if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)):
|
||||
from service.crest import Crest
|
||||
from service.crest import Crest
|
||||
|
||||
|
||||
class PFCrestPref(PreferenceView):
|
||||
|
||||
Reference in New Issue
Block a user