diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2020-03-30 17:43:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 17:43:20 +0200 |
commit | 7ecf88318c93f6a0407780ee1bed0ca241073b76 (patch) | |
tree | cb0aa73ca686705b5dd1076d6d3cbdacbd08e08c | |
parent | 23877ab4afbf0c2fe4092936261d92d7b7fbff11 (diff) | |
parent | 5349bc9d1105c71158fce8dfd6a4733eb90dbb1a (diff) | |
download | targetcli-7ecf88318c93f6a0407780ee1bed0ca241073b76.tar.gz |
Merge pull request #165 from pkalever/targetclid-fix
Fix targetclid daemon infinite stuck
-rwxr-xr-x | daemon/targetclid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/targetclid b/daemon/targetclid index dfc22ce..d4c6562 100755 --- a/daemon/targetclid +++ b/daemon/targetclid @@ -154,7 +154,7 @@ class TargetCLI: connection.close() still_listen = False else: - self.con._stdout = self.con._stderr = f = io.StringIO() + self.con._stdout = self.con._stderr = f = io.BytesIO() try: # extract multiple commands delimited with '%' list_data = data.decode().split('%') |