diff options
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/patchwork/bin/pwclient | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/bin/pwclient b/apps/patchwork/bin/pwclient index 4c47b11..16ca337 100755 --- a/apps/patchwork/bin/pwclient +++ b/apps/patchwork/bin/pwclient @@ -269,7 +269,7 @@ def action_apply(rpc, patch_id, apply_cmd=None): s = rpc.patch_get_mbox(patch_id) if len(s) > 0: proc = subprocess.Popen(apply_cmd, stdin = subprocess.PIPE) - proc.communicate(s) + proc.communicate(unicode(s).encode('utf-8')) else: sys.stderr.write("Error: No patch content found\n") sys.exit(1) |