mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
improved pins validation
This commit is contained in:
@@ -54,7 +54,7 @@ class Plugin(BaseUserGpioDriver):
|
||||
self.__driver = ""
|
||||
|
||||
@classmethod
|
||||
def get_pin_validator(cls) -> Callable[[Any], str]:
|
||||
def get_pin_validator(cls) -> Callable[[Any], Any]:
|
||||
return str
|
||||
|
||||
def prepare(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user