view pics2/pics.fcgi @ 88:583400dc28a0

myrss: update user-agent string to "Mozilla/5.0 Browser" after some servers complain about "Mozilla/5.0"; show exception type in top-level exception handler log message
author paulo
date Thu, 12 Jan 2017 00:59:05 -0700
parents
children
line source
1 #!/usr/bin/env python
3 from flup.server.fcgi import WSGIServer
4 #from flup.server.fcgi_single import WSGIServer
6 import pics_app
9 WSGIServer(pics_app.app).run()