diff --git a/src/pigeon/files/media.py b/src/pigeon/files/media.py index 945bb38..d5ab7f6 100644 --- a/src/pigeon/files/media.py +++ b/src/pigeon/files/media.py @@ -30,8 +30,7 @@ def handle_media_request(request: HTTPRequest): if os.path.exists(local_path) and os.path.isfile(local_path): # return file - data, encoding = fetch_file(local_path, - [encoding.strip() for encoding in request.headers('Accept-Encoding').split(',')]) + data, encoding = fetch_file(local_path, [encoding.strip() for encoding in request.headers('Accept-Encoding').split(',')]) # get mimetype for file mimetype = mimetypes.guess_type(local_path)[0]