Skip to content
Snippets Groups Projects
Commit fa827fb8 authored by maaikedieuwertje's avatar maaikedieuwertje
Browse files

port back to original

Former-commit-id: a40e2fc8d6c54b5b6850b06ab071a6c14c19caba
parent 5b80ddfa
No related branches found
No related tags found
No related merge requests found
......@@ -1537,7 +1537,7 @@ def kadmosImposeMDAOArchitecture():
def run_vistoms(folder=None, write_log=True, open_vistoms=True):
global UPLOAD_FOLDER
if open_vistoms:
url = 'http://127.0.0.1:5000/VISTOMS'
url = 'http://127.0.0.1:5001/VISTOMS'
subprocess.Popen('start '+url, shell=True)
if write_log:
# Settings for logging
......@@ -1554,7 +1554,7 @@ def run_vistoms(folder=None, write_log=True, open_vistoms=True):
if not os.path.isdir(UPLOAD_FOLDER):
os.makedirs(os.path.dirname(UPLOAD_FOLDER))
# Run the app
app.run(port=5000, threaded=True)
app.run(port=5001, threaded=True)
# In the app.py (or vistoms.py) I would do it like this at
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment