Browse Source

Fix broken pieces

Including #43
master
pictuga 3 months ago
parent
commit
2456dd9bbc
2 changed files with 2 additions and 2 deletions
  1. + 1
    - 1
      morss/__main__.py
  2. + 1
    - 1
      setup.py

+ 1
- 1
morss/__main__.py

@ -52,7 +52,7 @@ def main():
app = wsgi.cgi_error_handler(app)
app = wsgi.cgi_encode(app)
print('Serving http://localhost:%s/' % port)
print('Serving http://localhost:%s/' % PORT)
httpd = wsgiref.simple_server.make_server('', PORT, app)
httpd.serve_forever()

+ 1
- 1
setup.py

@ -20,5 +20,5 @@ setup(
('share/' + package_name + '/www/cgi', [])
],
entry_points = {
'console_scripts': [package_name + '=' + package_name + ':main']
'console_scripts': [package_name + '=' + package_name + '.__main__:main']
})

Loading…
Cancel
Save