Beremiz as library
Issue #4
resolved
Hi, there is a project, called LPCManager, which is supposed to import Beremiz as a library.
LPCManager can't work with current beremiz version because of double imported wx-widgets exception.
Looks like we need to add if name == "main": import wxversion wxversion.select('2.8') import wx
instead of
import wxversion wxversion.select('2.8') import wx
in Beremiz.py
Comments (3)
-
reporter -
Thanks. I merged the fix and close the issue.
-
- changed status to resolved
Fix by changeset a656ccb
- Log in to comment
Sory I forgot to ade code markup Looks like we need to add
instead of
in Beremiz.py