Skip to content

Commit 9a82c41

Browse files
committed
reportError doesn't need to convert strings to bytes
.. underlying function takes strings
1 parent c520ce2 commit 9a82c41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subprojects/robotpy-wpilib/wpilib/_impl/report_error.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def reportErrorInternal(
6262
not isWarning,
6363
code,
6464
False,
65-
error.encode("utf-8"),
66-
locString.encode("utf-8"),
67-
traceString.encode("utf-8"),
65+
error,
66+
locString,
67+
traceString,
6868
True,
6969
)
7070

0 commit comments

Comments
 (0)