File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def register_options(cls, register):
29
29
30
30
def __init__ (self , * args , ** kwargs ):
31
31
super (ConsoleTask , self ).__init__ (* args , ** kwargs )
32
- self ._console_separator = self .get_options ().sep .encode ('unicode_escape ' ).decode ('utf-8 ' )
32
+ self ._console_separator = self .get_options ().sep .encode ('ascii ' ).decode ('unicode_escape ' )
33
33
if self .get_options ().output_file :
34
34
try :
35
35
self ._outstream = safe_open (os .path .abspath (self .get_options ().output_file ), 'wb' )
@@ -55,7 +55,7 @@ def execute(self):
55
55
targets = self .context .targets ()
56
56
for value in self .console_output (targets ) or tuple ():
57
57
self ._outstream .write (value .encode ('utf-8' ))
58
- self ._outstream .write (self ._console_separator .encode ('utf-8 ' ))
58
+ self ._outstream .write (self ._console_separator .encode ('ascii ' ))
59
59
finally :
60
60
self ._outstream .flush ()
61
61
if self .get_options ().output_file :
You can’t perform that action at this time.
0 commit comments