split morss.py into __main__/cgi/cli.py

Should hopefully allow cleaner code in the future
This commit is contained in:
2020-08-21 22:17:55 +02:00
parent c6d3a0eb53
commit c6b52e625f
6 changed files with 341 additions and 307 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env python
from morss import main, cgi_standalone_app as application
from morss.__main__ import main
from morss.cgi import application
if __name__ == '__main__':
main()