Fix flake8 line length error.

This commit is contained in:
Ashley Sommer 2017-05-18 19:23:01 +10:00 committed by Ashley Sommer
parent 72db1188c7
commit ef80953b1b

View File

@ -107,7 +107,8 @@ def register(app, uri, file_or_directory, pattern,
if not stats: if not stats:
stats = await stat(file_path) stats = await stat(file_path)
if stats.st_size >= threshold: if stats.st_size >= threshold:
return await file_stream(file_path, headers=headers, _range=_range) return await file_stream(file_path, headers=headers,
_range=_range)
return await file(file_path, headers=headers, _range=_range) return await file(file_path, headers=headers, _range=_range)
except ContentRangeError: except ContentRangeError:
raise raise