Skip to content

Commit a559179

Browse files
authored
Merge pull request #72 from iberryful/fix-utf-8
fix unicode error in console msg#issue67
2 parents fd92d18 + 8d884bc commit a559179

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)