mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 02:21:53 +08:00
basic python 3.9 support
This commit is contained in:
@@ -226,7 +226,7 @@ class KvmdServer(HttpServer): # pylint: disable=too-many-arguments,too-many-ins
|
||||
if name not in current_params:
|
||||
assert exc_cls is not None, name
|
||||
raise exc_cls()
|
||||
value = validator(value)
|
||||
value = validator(value) # type: ignore
|
||||
if current_params[name] != value:
|
||||
self.__new_streamer_params[name] = value
|
||||
await self.__streamer_notifier.notify()
|
||||
|
||||
Reference in New Issue
Block a user