Skip to content

Commit

Permalink
remove additional line
Browse files Browse the repository at this point in the history
  • Loading branch information
Tansito committed Dec 20, 2024
1 parent 4e4cb62 commit c7ec6fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gateway/api/services/file_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def get_file(self, file_name: str) -> Optional[Tuple[FileWrapper, str, int]]:
)
return None


# We can not use context manager here. Django close the file automatically:
# https://docs.djangoproject.com/en/5.1/ref/request-response/#fileresponse-objects
file_wrapper = FileWrapper(
Expand Down

0 comments on commit c7ec6fc

Please sign in to comment.