remove the tailing empty str in dictutils.py

This commit is contained in:
Hongbo authored and GitHub committed 2024-03-28 22:18:18 -04:00
1 parent 9c32adf106
commit 7636e3d1c5
1 file changed
+1 -1
+1 -1
View File
@@ -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