From 680390855d91e285e243c17a1b850ab7534cc16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Mon, 12 Nov 2012 04:43:42 +0100 Subject: [PATCH] metadata editor fix: properly save storted comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- ponysay-tool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ponysay-tool.py b/ponysay-tool.py index 36e81d52..4607609d 100755 --- a/ponysay-tool.py +++ b/ponysay-tool.py @@ -668,6 +668,8 @@ class PonysayTool(): data[key] += '\n' + value.strip(' ') else: comment.append(line) + else: + comment.append(line) cut = 0 while (len(comment) > cut) and (len(comment[cut]) == 0):