metadata editor fix: properly save storted comment

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2012-11-12 04:43:42 +01:00
parent c45650013e
commit 680390855d

View file

@ -668,6 +668,8 @@ class PonysayTool():
data[key] += '\n' + value.strip(' ') data[key] += '\n' + value.strip(' ')
else: else:
comment.append(line) comment.append(line)
else:
comment.append(line)
cut = 0 cut = 0
while (len(comment) > cut) and (len(comment[cut]) == 0): while (len(comment) > cut) and (len(comment[cut]) == 0):