etherlab/__init__.py
author Edouard Tisserant
Wed, 13 Jan 2021 10:28:09 +0100
branchsvghmi
changeset 3109 6c39d718e8cb
parent 2274 5cb9ef5351cc
child 3750 f62625418bff
permissions -rw-r--r--
Removed harmful assert in ProcessLogger.

ProcessLogger was having an assert in constructor when missing logger, leading to systematic exception when testing options accepted by compiler. This exception was silenced in ProjectController, and then MatIEC was always called without options.
2274
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     1
from __future__ import absolute_import
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     2
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     3
from etherlab.etherlab import *
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     4
from util.BitmapLibrary import AddBitmapFolder
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     5
import util.paths as paths
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     6
5cb9ef5351cc Load images for EtherCAT extension
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2022
diff changeset
     7
AddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))