# HG changeset patch
# User Laurent Bessard
# Date 1370241670 -7200
# Node ID e3f805ba74ca781939d1bdfa634917ac23ab6f52
# Parent  9a35da8f714ba1e82a72b0ded9ac9288453a597c
Fixed bug when launching Beremiz with a wrong project path

diff -r 9a35da8f714b -r e3f805ba74ca 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()