Hi,

while reading emperor.c i found the same issue as Riccardo mailed yesterday, so i made the same patch for the vassals.

thanks,
Fabio Piras
diff -r c958bb2e5ce3 emperor.c
--- a/emperor.c	Wed Oct 19 16:13:10 2011 +1000
+++ b/emperor.c	Wed Oct 26 15:22:27 2011 +0200
@@ -360,6 +360,8 @@
 			vassal_argv[1] = "--yaml";
 		if (!strcmp(name + (strlen(name) - 3), ".js"))
 			vassal_argv[1] = "--json";
+		if (!strcmp(name + (strlen(name) - 5), ".json"))
+			vassal_argv[1] = "--json";
 
 		if (colon) {
 			colon[0] = ':';
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to