diff -r 2fcea15858a5 -r 6db967480b7d PLCOpenEditor.py --- a/PLCOpenEditor.py Wed Apr 12 10:20:01 2017 +0000 +++ b/PLCOpenEditor.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. # @@ -25,8 +26,9 @@ import wx import os, sys, platform, time, traceback, getopt import version - -beremiz_dir = os.path.dirname(os.path.realpath(__file__)) +import util.paths as paths + +beremiz_dir = paths.AbsDir(__file__) __version__ = "$Revision: 1.130 $"