More import fixes for osx deprecated

This commit is contained in:
blitzman
2017-01-27 22:25:22 -05:00
parent 32dc28f48d
commit 6b3d3ecd93
4 changed files with 12 additions and 4 deletions

View File

@@ -36,7 +36,10 @@ from service.fit import Fit as svcFit
import wx
from eos.types import State, Slot, Module, Cargo, Ship, Drone, Implant, Booster, Citadel, Fighter, Fit
from service.crest import Crest
if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)):
from service.crest import Crest
from service.market import Market
logger = logging.getLogger("pyfa.service.port")