Skip to content

Commit

Permalink
Fix TextIO casting, addresses #1
Browse files Browse the repository at this point in the history
  • Loading branch information
eachanjohnson committed Mar 11, 2024
1 parent 9e1d067 commit c888a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carabiner/cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _(x: str, *args, **kwargs):


@cio.register
def _(x: TextIO, *args, **kwargs):
def _(x: TextIOWrapper, *args, **kwargs):

x.close()

Expand Down

0 comments on commit c888a7b

Please sign in to comment.