added embed_files

This commit is contained in:
roberto@natty32
2011-07-10 19:31:12 +02:00
parent 615348c5a1
commit b87e7c0af8
5 changed files with 36 additions and 2 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ PyObject *uwsgi_pyimport_by_filename(char *name, char *filename) {
char *real_filename = filename;
if (strncmp(filename, "http://", 7)) {
if (strncmp(filename, "http://", 7) && strncmp(filename, "sym://", 6)) {
pyfile = fopen(filename, "r");
if (!pyfile) {