Fixes for WindowsOutputStream
This commit is contained in:
parent
c78b17f6a7
commit
5e19ad0c6d
|
@ -18,7 +18,7 @@ import logging
|
|||
import os
|
||||
import platform
|
||||
import sys
|
||||
from io import BytesIO
|
||||
from io import StringIO
|
||||
|
||||
# Some cool code for colored logging:
|
||||
# For background, add 40. For foreground, add 30
|
||||
|
@ -88,7 +88,7 @@ class WindowsOutputStream(object):
|
|||
|
||||
def write(self, s):
|
||||
|
||||
msg_strm = BytesIO(s)
|
||||
msg_strm = StringIO(s)
|
||||
|
||||
while (True):
|
||||
c = msg_strm.read(1)
|
||||
|
|
Loading…
Reference in New Issue