mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 02:51:53 +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