From 7636e3d1c51f8452adbe78c6f23a63472bb4d2b5 Mon Sep 17 00:00:00 2001 From: Hongbo <12580159+ya0guang@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:18:18 -0400 Subject: [PATCH] remove the tailing empty str in dictutils.py --- dictutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictutils.py b/dictutils.py index 75b8f78..20825db 100644 --- a/dictutils.py +++ b/dictutils.py @@ -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