mirror of
https://github.com/django/daphne.git
synced 2025-04-17 23:32:12 +03:00
Merge 53bc4c57d7
into 630caed915
This commit is contained in:
commit
2248517295
|
@ -68,3 +68,4 @@ class AccessLogGenerator:
|
|||
length or "-",
|
||||
)
|
||||
)
|
||||
self.stream.flush()
|
||||
|
|
|
@ -224,7 +224,7 @@ class CommandLineInterface:
|
|||
if args.access_log == "-":
|
||||
access_log_stream = sys.stdout
|
||||
else:
|
||||
access_log_stream = open(args.access_log, "a", 1)
|
||||
access_log_stream = open(args.access_log, "a")
|
||||
elif args.verbosity >= 1:
|
||||
access_log_stream = sys.stdout
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user