mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
lint fix
This commit is contained in:
@@ -194,7 +194,7 @@ async def start_streaming(
|
|||||||
|
|
||||||
response = StreamResponse(status=200, reason="OK")
|
response = StreamResponse(status=200, reason="OK")
|
||||||
response.content_type = content_type
|
response.content_type = content_type
|
||||||
if content_length >= 0:
|
if content_length >= 0: # pylint: disable=consider-using-min-builtin
|
||||||
response.content_length = content_length
|
response.content_length = content_length
|
||||||
if file_name:
|
if file_name:
|
||||||
file_name = urllib.parse.quote(file_name, safe="")
|
file_name = urllib.parse.quote(file_name, safe="")
|
||||||
|
|||||||
Reference in New Issue
Block a user