validate: Fix launcher when running installed
authorThibault Saunier <tsaunier@gnome.org>
Tue, 17 Jun 2014 13:10:41 +0000 (15:10 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Tue, 17 Jun 2014 13:10:41 +0000 (15:10 +0200)
validate/tools/gst-validate-launcher.in

index 600464a..b405c30 100644 (file)
@@ -19,7 +19,6 @@
 
 import os
 import sys
-from launcher.main import main
 
 LIBDIR = '@LIBDIR@'
 
@@ -37,4 +36,5 @@ def _add_gst_launcher_path():
 
 if "__main__" == __name__:
     _add_gst_launcher_path()
+    from launcher.main import main
     exit(main())