Skip to content

Commit

Permalink
reportError doesn't need to convert strings to bytes
Browse files Browse the repository at this point in the history
.. underlying function takes strings
  • Loading branch information
virtuald committed Jan 6, 2025
1 parent c520ce2 commit 9a82c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subprojects/robotpy-wpilib/wpilib/_impl/report_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def reportErrorInternal(
not isWarning,
code,
False,
error.encode("utf-8"),
locString.encode("utf-8"),
traceString.encode("utf-8"),
error,
locString,
traceString,
True,
)

Expand Down

0 comments on commit 9a82c41

Please sign in to comment.