Fixed bug when launching Beremiz with a wrong project path
authorLaurent Bessard
Mon, 03 Jun 2013 08:41:10 +0200
changeset 1211 e3f805ba74ca
parent 1210 9a35da8f714b
child 1212 b351d3a7917c
Fixed bug when launching Beremiz with a wrong project path
Beremiz.py
--- a/Beremiz.py	Mon Jun 03 08:35:23 2013 +0200
+++ b/Beremiz.py	Mon Jun 03 08:41:10 2013 +0200
@@ -1250,6 +1250,7 @@
     AddExceptHook(os.getcwd(),updateinfo_url)
     
     frame = Beremiz(None, projectOpen, buildpath)
-    splash.Close()
+    if splash:
+        splash.Close()
     frame.Show()
     app.MainLoop()