Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
trossi committed Jun 17, 2024
1 parent 68b4e55 commit 442fd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdata/conversion/to_r.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def convert_to_r_object( # noqa: C901, PLR0912, PLR0915
# Or does CP1252 change to e.g. CP1250 depending on localization?
gp = CharFlags.LATIN1
else:
msg = "unsupported encoding: {encoding}"
msg = f"unsupported encoding: {encoding}"
raise ValueError(msg)
r_value = data

Expand Down

0 comments on commit 442fd3a

Please sign in to comment.