mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
assert
This commit is contained in:
@@ -110,6 +110,7 @@ class BaseDeviceProcess(multiprocessing.Process): # pylint: disable=too-many-in
|
||||
pass
|
||||
|
||||
def _update_state(self, **kwargs: bool) -> None:
|
||||
assert "online" not in kwargs
|
||||
self.__state_flags.update(**kwargs)
|
||||
|
||||
# =====
|
||||
|
||||
Reference in New Issue
Block a user