mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 18:11:54 +08:00
removed unused mtime
This commit is contained in:
@@ -48,7 +48,6 @@ class StreamerSnapshot:
|
|||||||
online: bool
|
online: bool
|
||||||
width: int
|
width: int
|
||||||
height: int
|
height: int
|
||||||
mtime: float
|
|
||||||
headers: tuple[tuple[str, str], ...]
|
headers: tuple[tuple[str, str], ...]
|
||||||
data: bytes
|
data: bytes
|
||||||
|
|
||||||
@@ -350,7 +349,6 @@ class Streamer: # pylint: disable=too-many-instance-attributes
|
|||||||
online=online,
|
online=online,
|
||||||
width=int(response.headers["X-UStreamer-Width"]),
|
width=int(response.headers["X-UStreamer-Width"]),
|
||||||
height=int(response.headers["X-UStreamer-Height"]),
|
height=int(response.headers["X-UStreamer-Height"]),
|
||||||
mtime=float(response.headers["X-Timestamp"]),
|
|
||||||
headers=tuple(
|
headers=tuple(
|
||||||
(key, value)
|
(key, value)
|
||||||
for (key, value) in tools.sorted_kvs(dict(response.headers))
|
for (key, value) in tools.sorted_kvs(dict(response.headers))
|
||||||
|
|||||||
Reference in New Issue
Block a user