remove the tailing empty str in dictutils.py
This commit is contained in:
1 parent
9c32adf106
commit
7636e3d1c5
1 file changed
+1
-1
+1
-1
@@ -194,7 +194,7 @@ class Generator (object):
|
|||||||
text = text + translation
|
text = text + translation
|
||||||
exchange = self.word_exchange(data, 0)
|
exchange = self.word_exchange(data, 0)
|
||||||
if exchange:
|
if exchange:
|
||||||
text = text + '\n\n' + exchange + ''
|
text = text + '\n\n' + exchange
|
||||||
if tag:
|
if tag:
|
||||||
text = text + '\n' + '(' + tag + ')'
|
text = text + '\n' + '(' + tag + ')'
|
||||||
out[word] = text
|
out[word] = text
|
||||||
|
|||||||
Reference in new issue
Block a user