From 91e89183c1be40bea9f334a2e1287ec353de879a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=BChnel?= Date: Fri, 18 May 2018 19:34:11 +0200 Subject: [PATCH] Add host and port to server start message --- config/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/__init__.py b/config/__init__.py index 156ae50e4..a79ed9cbd 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -175,5 +175,7 @@ def update_status_config(milestones_content): filename=LOG_FILE, format='%(levelname)s %(asctime)s %(message)s', datefmt='%Y-%m-%d %H:%M:%S') -if not initialize_status(): +if initialize_status(): + print('Server is running at http://localhost:5000/') +else: sys.exit('Milestones are not initialized. Check logs.')