when i comment out wsgi.file it works
from os import path
f=open(path.join(path.dirname(__file__),'../bin/
picture.png'),'rb')
# if 'wsgi.file_wrapper' in environ: return environ
['wsgi.file_wrapper'](f, 8192)
# else:
return iter(lambda: f.read(8192), '')
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---