Commit 2f9a4b41 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix relative import issue in python B mapper

parent 3447567e
......@@ -144,7 +144,7 @@ def OnStartup(modelingLanguage: str,
if modelingLanguage.lower() == "gui_pi":
# We have telemetry, we need a thread polling the /xyz_PI_queue (xyz: g_maybeFVname)
g_headerPython.append("from . import " + g_asn_name + "_asn")
g_headerPython.append("import " + g_asn_name + "_asn")
g_bodyPython.append("class Poll_" + cleanFVname + "(threading.Thread):")
g_bodyPython.append(" def run(self):")
g_bodyPython.append(' self._bDie = False')
Markdown is supported
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