diff options
author | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
commit | ee3e224e396494cd0d69bb6167087a071a20349c (patch) | |
tree | 5becd28570e58a03c6e1e231d0db24c264a73f88 /kvmd/apps/vnc/rfb/crypto.py | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'kvmd/apps/vnc/rfb/crypto.py')
-rw-r--r-- | kvmd/apps/vnc/rfb/crypto.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/apps/vnc/rfb/crypto.py b/kvmd/apps/vnc/rfb/crypto.py index 854dceb3..8953bef5 100644 --- a/kvmd/apps/vnc/rfb/crypto.py +++ b/kvmd/apps/vnc/rfb/crypto.py @@ -22,8 +22,6 @@ import os -from typing import List - import passlib.crypto.des @@ -43,7 +41,7 @@ def rfb_encrypt_challenge(challenge: bytes, passwd: bytes) -> bytes: def _make_key(passwd: bytes) -> bytes: passwd = (passwd + b"\0" * 8)[:8] - key: List[int] = [] + key: list[int] = [] for ch in passwd: btgt = 0 for index in range(8): |