author | alexander@60.125.16.172.in-addr.arpa |
Tue, 23 Aug 2016 10:24:47 +0500 | |
changeset 1518 | a656ccb868d4 |
parent 1517 | 30692ab8b5c7 |
child 1519 | f7ac0d11118e |
child 1522 | fef49488b5c7 |
child 1648 | 6431f26aa501 |
Beremiz.py | file | annotate | diff | comparison | revisions |
--- a/Beremiz.py Thu Aug 18 14:35:03 2016 +0500 +++ b/Beremiz.py Tue Aug 23 10:24:47 2016 +0500 @@ -35,9 +35,11 @@ beremiz_dir = os.path.dirname(os.path.realpath(__file__)) -import wxversion -wxversion.select(['2.8', '3.0']) -import wx +if __name__ == '__main__': + import wxversion + wxversion.select(['2.8', '3.0']) + import wx + from wx.lib.agw.advancedsplash import AdvancedSplash def Bpath(*args):