etherlab/EthercatCFileGenerator.py
changeset 2405 af050469fc5c
parent 2397 25f16349644b
child 2407 5f2b1bb464a0
--- a/etherlab/EthercatCFileGenerator.py	Sat Sep 29 17:39:21 2018 +0300
+++ b/etherlab/EthercatCFileGenerator.py	Sat Sep 29 17:52:33 2018 +0300
@@ -9,9 +9,10 @@
 #
 # See COPYING file for copyrights details.
 
+from __future__ import absolute_import
 import os
 
-from EthercatSlave import ExtractHexDecValue, DATATYPECONVERSION, ExtractName
+from etherlab.EthercatSlave import ExtractHexDecValue, DATATYPECONVERSION, ExtractName
 
 SLAVE_PDOS_CONFIGURATION_DECLARATION = """
 /* Slave %(slave)d, "%(device_type)s"