remote_control_password: Fix using a password without any actions not working

Fixes #8082
This commit is contained in:
Kovid Goyal
2024-11-27 01:56:17 +05:30
parent 8b8b618418
commit cf2aaaf52f
3 changed files with 4 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ def remote_control_allowed(
class PasswordAuthorizer:
def __init__(self, auth_items: frozenset[str]) -> None:
def __init__(self, auth_items: Iterable[str]) -> None:
self.command_patterns = []
self.function_checkers = []
self.name = ''