etherlab/__init__.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 17 Jul 2022 17:47:11 +0200
changeset 3546 ee51d1deadfd
parent 2274 5cb9ef5351cc
child 3750 f62625418bff
permissions -rw-r--r--
wxPython4 sequels: fix Wx exceptions ignored because no traceback

Some exception triggered on wxPython side have None as traceback,
and exception hanlder was discarding them.
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"))