Skip to content

Commit dd0438b

Browse files
committed
fix(options): remove redundant cast in _show_option
1 parent 1bc4f05 commit dd0438b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtmux/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ def _show_option(
10931093
if isinstance(output_exploded, SparseArray):
10941094
try:
10951095
index = int(option)
1096-
return t.cast("ConvertedValue", output_exploded[index])
1096+
return output_exploded[index]
10971097
except (ValueError, KeyError):
10981098
return None
10991099

0 commit comments

Comments
 (0)