1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-12-02 07:50:04 +03:00

minor fix

This commit is contained in:
Igor Chubin 2020-05-29 17:43:44 +00:00
parent 83d30141bc
commit 9d41d6c390

View File

@ -38,7 +38,7 @@ class CommandAdapter(Adapter):
if cmd:
try:
proc = Popen(cmd, stdout=PIPE, stderr=PIPE)
answer = proc.communicate()[0].decode('utf-8')
answer = proc.communicate()[0].decode('utf-8', 'ignore')
except OSError:
return "ERROR of the \"%s\" adapter: please create an issue" % self._adapter_name
return answer