Added import of Port, which has a method that XML import uses. Importing inside the function to avoid circular import

This commit is contained in:
blitzmann
2018-09-01 18:02:04 -04:00
parent c552f6a1d4
commit 6f5d0453a6

View File

@@ -129,6 +129,7 @@ def _resolve_module(hardware, sMkt, b_localized):
def importXml(text, iportuser):
from .port import Port
# type: (str, IPortUser) -> list[eos.saveddata.fit.Fit]
sMkt = Market.getInstance()
doc = xml.dom.minidom.parseString(text)