Remove platform-specific CREST checks (add for mac-deprecated client)

This commit is contained in:
blitzmann
2017-11-24 17:27:44 -05:00
parent 337f0a9c8a
commit 3c405f51d8
8 changed files with 44 additions and 54 deletions

View File

@@ -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")

View File

@@ -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):