Skip to content

Commit

Permalink
Merge remote-tracking branch 'pernofence/whitenoise/main' into ensure…
Browse files Browse the repository at this point in the history
…-slicefile-calls-close
  • Loading branch information
Archmonger committed Oct 25, 2024
2 parents 6a382da + 16c180d commit 3d524ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/servestatic/responders.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def read(self, size=-1):
return data

def close(self):
super().close()
self.fileobj.close()


Expand Down

0 comments on commit 3d524ca

Please sign in to comment.