Make use thru uwsgi easier

Import the main cgi_wrapper as "application" in main.py
master
pictuga 2015-08-28 19:19:09 +02:00
parent 4f9000beed
commit 9c7660fd63
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
from morss import main from morss import main, cgi_wrapper as application
if __name__ == '__main__': if __name__ == '__main__':
main() main()