mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +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.content_type = content_type
|
||||
if content_length >= 0:
|
||||
if content_length >= 0: # pylint: disable=consider-using-min-builtin
|
||||
response.content_length = content_length
|
||||
if file_name:
|
||||
file_name = urllib.parse.quote(file_name, safe="")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user