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