frappy_psi.mercury.IO.communicate: use UTF-8 for cmd and reply
This commit is contained in:
@@ -66,7 +66,7 @@ class IO(StringIO):
|
||||
timeout = 5
|
||||
encoding = 'latin1'
|
||||
|
||||
@Command(StringType(), result=StringType(isUTF8=True))
|
||||
@Command(StringType(isUTF8=True), result=StringType(isUTF8=True))
|
||||
def communicate(self, cmd, noreply=False):
|
||||
return super().communicate(cmd, noreply)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user