diff -r 2fcea15858a5 -r 6db967480b7d wxglade_hmi/wxglade_hmi.py --- a/wxglade_hmi/wxglade_hmi.py Wed Apr 12 10:20:01 2017 +0000 +++ b/wxglade_hmi/wxglade_hmi.py Thu Apr 20 13:01:45 2017 +0300 @@ -5,6 +5,7 @@ # programming IEC 61131-3 automates supporting plcopen standard and CanFestival. # # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD +# Copyright (C) 2017: Andrey Skvortsov # # See COPYING file for copyrights details. # @@ -26,6 +27,7 @@ import os, sys, shutil from xml.dom import minidom +import util.paths as paths from py_ext import PythonFileCTNMixin class WxGladeHMI(PythonFileCTNMixin): @@ -41,7 +43,7 @@ return "wxGlade" def ConfNodePath(self): - return os.path.join(os.path.dirname(__file__)) + return paths.AbsDir(__file__) def _getWXGLADEpath(self, project_path=None): if project_path is None: