mirror of
https://github.com/django/daphne.git
synced 2024-11-25 09:13:44 +03:00
parent
cd8b709ce8
commit
bd0530d147
|
@ -126,7 +126,7 @@ class CommandLineInterface(object):
|
||||||
if args.access_log == "-":
|
if args.access_log == "-":
|
||||||
access_log_stream = sys.stdout
|
access_log_stream = sys.stdout
|
||||||
else:
|
else:
|
||||||
access_log_stream = open(args.access_log, "a")
|
access_log_stream = open(args.access_log, "a", 1)
|
||||||
elif args.verbosity >= 1:
|
elif args.verbosity >= 1:
|
||||||
access_log_stream = sys.stdout
|
access_log_stream = sys.stdout
|
||||||
# Import channel layer
|
# Import channel layer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user