Skip to content

Commit

Permalink
Changed the quotes from "" to '' for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskremla authored Aug 13, 2024
1 parent b4fc01b commit 9bba7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microdot/microdot.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ def send_file(cls, filename, status_code=200, content_type=None,
first.
"""
if content_type is None:
if filename.endswith(".gz"):
if filename.endswith('.gz'):
ext = filename[:-3].split('.')[-1]
else:
ext = filename.split('.')[-1]
Expand Down

0 comments on commit 9bba7ee

Please sign in to comment.