Fix broken pieces

Including #43
master
pictuga 2020-08-28 19:38:48 +02:00
parent 0f33db248a
commit 2456dd9bbc
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def main():
app = wsgi.cgi_error_handler(app) app = wsgi.cgi_error_handler(app)
app = wsgi.cgi_encode(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 = wsgiref.simple_server.make_server('', PORT, app)
httpd.serve_forever() httpd.serve_forever()

View File

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