annotate 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
rev   line source
paulo@57 1 #!/usr/bin/env python
paulo@57 2
paulo@57 3 from flup.server.fcgi import WSGIServer
paulo@57 4 #from flup.server.fcgi_single import WSGIServer
paulo@57 5
paulo@57 6 import pics_app
paulo@57 7
paulo@57 8
paulo@57 9 WSGIServer(pics_app.app).run()