aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--becommands/comment.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/becommands/comment.py b/becommands/comment.py
index b211cf6..e3a1d93 100644
--- a/becommands/comment.py
+++ b/becommands/comment.py
@@ -56,6 +56,7 @@ def execute(args):
"No comment supplied, and EDITOR not specified.")
if body is None:
raise cmdutil.UserError("No comment entered.")
+ body = body.decode('utf-8')
else:
body = args[1]
if not body.endswith('\n'):