11.08., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit e45656d8 authored by Mayank Yadav's avatar Mayank Yadav

Changed browser

parent 9ab6a80d
No preview for this file type
......@@ -311,9 +311,12 @@ def yamlread():
def runFlask():
print('##########Opening browser##########')
# Decomment this and add valid application path if you don't want to open in default browser
chrome_path = 'open -a /Applications/Google\ Chrome.app %s'
webbrowser.get(chrome_path).open('http://127.0.0.1:5000/')
# webbrowser.open('http://127.0.0.1:5000/')
# chrome_path = 'open -a /Applications/Google\ Chrome.app %s'
# webbrowser.get(chrome_path).open('http://127.0.0.1:5000/')
try:
webbrowser.open('http://127.0.0.1:5000/')
except:
print('Visit http://127.0.0.1:5000/')
app.run(debug=False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment