mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
lint fix
This commit is contained in:
parent
6a76ce869a
commit
f34b89fb29
@ -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="")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user