diff --git a/boards/models/attachment/downloaders.py b/boards/models/attachment/downloaders.py --- a/boards/models/attachment/downloaders.py +++ b/boards/models/attachment/downloaders.py @@ -38,7 +38,7 @@ class Downloader: return None length_header = response_head.headers.get(HEADER_CONTENT_LENGTH) - if validate and length_header: + if length_header: length = int(length_header) validate_file_size(length) # Get the actual content into memory