chg: [server] display port

This commit is contained in:
Alexandre Dulaunoy 2022-01-24 09:00:16 +01:00
parent bee9df24fd
commit 103a58e3b8
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -87,5 +87,5 @@ app.add_route('/', MyGeoLookup())
if __name__ == '__main__': if __name__ == '__main__':
with make_server('', port, app) as httpd: with make_server('', port, app) as httpd:
print('Serving on port 8000...') print(f'Serving on port {port}...')
httpd.serve_forever() httpd.serve_forever()