From de15dcb4d1bb19fa72f6b3bd77df1a4d48dce141 Mon Sep 17 00:00:00 2001 From: Sylvain Prat Date: Mon, 19 Nov 2018 23:13:03 +0100 Subject: [PATCH] Fixed #234: Don't listen on port 8000 when provided a file descriptor --- 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, ] ):