diff options
Diffstat (limited to 'apps/patchwork/bin/pwclient')
-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 b0bd1d1..b480408 100755 --- a/apps/patchwork/bin/pwclient +++ b/apps/patchwork/bin/pwclient @@ -234,7 +234,7 @@ def action_get(rpc, patch_id): sys.exit(1) try: - f.write(s) + f.write(unicode(s).encode("utf-8")) f.close() print "Saved patch to %s" % fname except: |