Print web interface port

This commit is contained in:
Tanner Collin 2021-04-26 03:25:42 +00:00
parent 76cdf90b44
commit 47c2fca00a

View File

@ -93,6 +93,12 @@ def main():
if __name__ == '__main__':
threading.Thread(target=app.run).start()
host = '0.0.0.0'
port = 3300
threading.Thread(target=app.run, kwargs={'host': host, 'port': port}).start()
print('Web interface listening on port:', port)
print('Try going to http://localhost:' + str(port))
time.sleep(1)
main()