summaryrefslogtreecommitdiff
path: root/kvmd/htserver.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-03-08 00:51:55 +0200
committerMaxim Devaev <[email protected]>2024-03-08 00:51:55 +0200
commitf34b89fb29386101914f3c8aa02dc45a21651d90 (patch)
tree4d631d8f1166c8e4d9bcb00ebe009885fc6c282c /kvmd/htserver.py
parent6a76ce869a1b3c1a7a86abd60ee00f68e2f3e745 (diff)
lint fix
Diffstat (limited to 'kvmd/htserver.py')
-rw-r--r--kvmd/htserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/htserver.py b/kvmd/htserver.py
index 2974feed..3d1ce8f4 100644
--- a/kvmd/htserver.py
+++ b/kvmd/htserver.py
@@ -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="")