From 9c7660fd63bc1c48a0533e867c7d18faf9d90c03 Mon Sep 17 00:00:00 2001 From: pictuga Date: Fri, 28 Aug 2015 19:19:09 +0200 Subject: [PATCH] Make use thru uwsgi easier Import the main cgi_wrapper as "application" in main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 578af6e..239841f 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -from morss import main +from morss import main, cgi_wrapper as application if __name__ == '__main__': main()