Beremiz_service.py
changeset 1680 6db967480b7d
parent 1598 1445457547f7
child 1730 64d8f52bc8c8
--- a/Beremiz_service.py	Wed Apr 12 10:20:01 2017 +0000
+++ b/Beremiz_service.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.
 #
@@ -96,7 +97,8 @@
         usage()
         sys.exit()
 
-beremiz_dir = os.path.dirname(os.path.realpath(__file__))
+import util.paths as paths
+beremiz_dir = paths.AbsDir(__file__)
 
 if len(argv) > 1:
     usage()