From 47d18a8e99f7386f8e3ed6b422f6e335947a013d Mon Sep 17 00:00:00 2001 From: Lennart Ochel Date: Fri, 12 Nov 2021 08:44:53 +0100 Subject: [PATCH 1/2] Add __pycache__ to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9ecf49e..2e833c6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ dist venv .vscode *egg-info* -build \ No newline at end of file +build +__pycache__ From 7c37edc0b50e0823d6a4c1307a11503aa95f9c76 Mon Sep 17 00:00:00 2001 From: Lennart Ochel Date: Fri, 12 Nov 2021 08:45:22 +0100 Subject: [PATCH 2/2] Fix host in info message --- pyxtermjs/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyxtermjs/app.py b/pyxtermjs/app.py index 68d534b..20a9011 100644 --- a/pyxtermjs/app.py +++ b/pyxtermjs/app.py @@ -135,7 +135,7 @@ def main(): stream=sys.stdout, level=logging.DEBUG if args.debug else logging.INFO, ) - logging.info(f"serving on http://127.0.0.1:{args.port}") + logging.info(f"serving on http://{args.host}:{args.port}") socketio.run(app, debug=args.debug, port=args.port, host=args.host)