mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-04 12:41:38 +00:00
added embed_files
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user