mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-26 13:06:37 +08:00
improved pins validation
This commit is contained in:
@@ -69,7 +69,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def get_pin_validator(cls) -> Callable[[Any], str]:
|
||||
def get_pin_validator(cls) -> Callable[[Any], Any]:
|
||||
return str
|
||||
|
||||
async def read(self, pin: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user