Fixing warnings and typing

This commit is contained in:
Colin Basnett
2022-11-12 16:26:40 -08:00
parent aa8725c3d0
commit 86473584b8
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ def _read_types(fp, data_class, section: Section, data):
offset += section.data_size
def read_psk(path) -> Psk:
def read_psk(path: str) -> Psk:
psk = Psk()
with open(path, 'rb') as fp:
while fp.read(1):