diff --git a/homeassistant/components/http.py b/homeassistant/components/http.py index b13e786f50d..680ae9cfeda 100644 --- a/homeassistant/components/http.py +++ b/homeassistant/components/http.py @@ -328,8 +328,8 @@ class HomeAssistantWSGI(object): @asyncio.coroutine def serve_file(request): """Redirect to location.""" - yield from _GZIP_FILE_SENDER.send(request, filepath) - return + res = yield from _GZIP_FILE_SENDER.send(request, filepath) + return res # aiohttp supports regex matching for variables. Using that as temp # to work around cache busting MD5.