From 60baec8005dd6e84b3d564398eb79126ad12ad2e Mon Sep 17 00:00:00 2001 From: bogem Date: Tue, 30 Aug 2016 22:22:26 +0500 Subject: [PATCH] commands: Delete useless conversion --- commands/undraft.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/undraft.go b/commands/undraft.go index c7a248a71..5a1ae67a6 100644 --- a/commands/undraft.go +++ b/commands/undraft.go @@ -151,7 +151,7 @@ L: } // append the actual content - buff.Write([]byte(p.Content())) + buff.Write(p.Content()) return buff, nil }