Merge pull request #118 from ya0guang/patch-1

remove the tailing empty str in dictutils.py
This commit is contained in:
Linwei authored and GitHub committed 2024-03-29 15:15:28 +08:00
commit 434dfc28de
1 file changed
+1 -1
+1 -1
View File
@@ -194,7 +194,7 @@ class Generator (object):
text = text + translation
exchange = self.word_exchange(data, 0)
if exchange:
text = text + '\n\n' + exchange + ''
text = text + '\n\n' + exchange
if tag:
text = text + '\n' + '(' + tag + ')'
out[word] = text