Print web interface port
This commit is contained in:
parent
76cdf90b44
commit
47c2fca00a
8
main.py
8
main.py
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user