From 8cc2e7b6f153ca3967356dd178194ec175ebdccf Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 13 Oct 2018 09:46:29 -0400 Subject: [PATCH] fix --- responder/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responder/api.py b/responder/api.py index b310f2e..4b05c70 100644 --- a/responder/api.py +++ b/responder/api.py @@ -338,7 +338,7 @@ class API: if "PORT" in os.environ: if address is None: address = "0.0.0.0" - port = os.environ["PORT"] + port = int(os.environ["PORT"]) if address is None: address = "127.0.0.1"