scgi-wsgi: Fixed typo.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 5 Sep 2010 04:53:03 +0000 (06:53 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 5 Sep 2010 04:53:03 +0000 (06:53 +0200)
python/scgi-wsgi

index 944ed39..4258566 100755 (executable)
@@ -15,7 +15,7 @@ for o, a in opts:
         usage(sys.stdout)
         sys.exit(0)
     elif o == "-p":
         usage(sys.stdout)
         sys.exit(0)
     elif o == "-p":
-        sys.path.append(0, a)
+        sys.path.insert(0, a)
     elif o == "-T":
         sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
         p = a.rfind(":")
     elif o == "-T":
         sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
         p = a.rfind(":")