Skip to content

Commit 8d884bc

Browse files
committed
fix unicode error in console msg
1 parent 92267fc commit 8d884bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/job/infrabox_job/process.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(self):
2222
self.verify = False
2323

2424
def collect(self, line, show=False):
25+
line = line.encode("utf-8")
2526
if self.enable_logging:
2627
sys.stdout.write(line)
2728
sys.stdout.flush()

0 commit comments

Comments
 (0)