Insert, not append explicit xcbgen dir python path
[free-sw/xcb/libxcb] / src / c_client.py
index 3e77e9e..ef245c5 100644 (file)
@@ -2290,7 +2290,7 @@ except getopt.GetoptError as err:
 
 for (opt, arg) in opts:
     if opt == '-p':
-        sys.path.append(arg)
+        sys.path.insert(1, arg)
 
 # Import the module class
 try: