Added more comments

This commit is contained in:
GeorgianaElena
2020-08-17 19:04:25 +03:00
parent cef898fd31
commit 1ce172ae3e
2 changed files with 17 additions and 8 deletions

View File

@@ -507,10 +507,9 @@ def main():
ensure_jupyterlab_extensions()
# Stop the http server with the loading page before traefik starts
if args.temporary_page:
if args.progress_page_server_pid:
try:
os.kill(int(args.temporary_page), signal.SIGINT)
# Remove the pid file and the temporary html page
os.kill(args.progress_page_server_pid, signal.SIGINT)
except Exception as e:
pass