Fixes for WindowsOutputStream

This commit is contained in:
Andrew Chin 2019-06-21 23:36:10 -04:00
parent c78b17f6a7
commit 5e19ad0c6d
1 changed files with 2 additions and 2 deletions

View File

@ -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)