Commit 777e9c80 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

More relative-imports-related bugfixing.

parent 460732bf
......@@ -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("import " + g_asn_name + "_asn")
g_headerPython.append("from . 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