Compare commits
No commits in common. "65803b328dc158e4619aa3deb9dc925769cd09e9" and "67c096ad5bd8d2744d92f4602d6d9f9be5aa7d9b" have entirely different histories.
65803b328d
...
67c096ad5b
2
main.py
2
main.py
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from morss import main, cgi_standalone_app as application
|
from morss import main, cgi_wrapper as application
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -719,9 +719,6 @@ def cgi_encode(environ, start_response, app):
|
||||||
return [x if isinstance(x, bytes) else str(x).encode('utf-8') for x in out]
|
return [x if isinstance(x, bytes) else str(x).encode('utf-8') for x in out]
|
||||||
|
|
||||||
|
|
||||||
cgi_standalone_app = cgi_encode(cgi_error_handler(cgi_dispatcher(cgi_file_handler(cgi_app))))
|
|
||||||
|
|
||||||
|
|
||||||
def cli_app():
|
def cli_app():
|
||||||
options = Options(filterOptions(parseOptions(sys.argv[1:-1])))
|
options = Options(filterOptions(parseOptions(sys.argv[1:-1])))
|
||||||
url = sys.argv[-1]
|
url = sys.argv[-1]
|
||||||
|
|
|
@ -35,8 +35,8 @@
|
||||||
<input type="text" id="url" name="url" placeholder="Feed url (http://example.com/feed.xml)" />
|
<input type="text" id="url" name="url" placeholder="Feed url (http://example.com/feed.xml)" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<code>Copyright: pictuga 2013-2020<br/>
|
<code>Copyright: pictuga 2013-2014<br/>
|
||||||
Source code: https://git.pictuga.com/pictuga/morss</code>
|
Source code: https://github.com/pictuga/morss</code>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
form = document.forms[0]
|
form = document.forms[0]
|
||||||
|
|
Loading…
Reference in New Issue