mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
Fixed compliance to latest flake8.
This commit is contained in:
parent
5c92f5ac87
commit
5c262dfa52
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class DownloadResponse(StreamingHttpResponse):
|
|||
|
||||
# Apply default headers.
|
||||
for header, value in self.default_headers.items():
|
||||
if not header in self:
|
||||
if header not in self:
|
||||
self[header] = value # Does self support setdefault?
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in a new issue