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