From 17bf88c34c43813e2e6dfa5834f55441f9949a4b Mon Sep 17 00:00:00 2001 From: Sylvain Prat Date: Mon, 19 Nov 2018 10:52:49 +0100 Subject: [PATCH] Fixed #234 Fixed issue #234 where daphne still listen on 127.0.0.1:8000 when --fd 0 is provided --- daphne/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daphne/cli.py b/daphne/cli.py index dc715a6..62aa8d3 100755 --- a/daphne/cli.py +++ b/daphne/cli.py @@ -226,7 +226,7 @@ class CommandLineInterface(object): args.host, args.port is not None, args.unix_socket, - args.file_descriptor, + args.file_descriptor is not None, args.socket_strings, ] ):