Skip to content

Commit a3ec988

Browse files
committed
Old python compat
1 parent c29f50b commit a3ec988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kitty/file_transmission.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ def name_to_serialized_map() -> Dict[str, str]:
243243

244244

245245
@run_once
246-
def serialized_to_field_map() -> Dict[bytes, Field[Any]]:
247-
ans: Dict[bytes, Field[Any]] = {}
246+
def serialized_to_field_map() -> Dict[bytes, 'Field[Any]']:
247+
ans: Dict[bytes, 'Field[Any]'] = {}
248248
for k in fields(FileTransmissionCommand):
249249
ans[k.metadata.get('sname', k.name).encode('ascii')] = k
250250
return ans

0 commit comments

Comments
 (0)