From 5dea3dcf800d2588732d0d217429e1d7402208fc Mon Sep 17 00:00:00 2001 From: Todd Eisenberger Date: Tue, 27 Sep 2011 10:15:15 -0700 Subject: Add day_change plugin, make translate update right away --- plugins/translate.py | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/translate.py') diff --git a/plugins/translate.py b/plugins/translate.py index 625d78e7..880c8af1 100644 --- a/plugins/translate.py +++ b/plugins/translate.py @@ -28,6 +28,7 @@ class Plugin(BasePlugin): text, lang = translate(body) if lang != TARGET_LANG: room.add_message(text, nickname=nick_from) + self.core.refresh_window() except Exception as e: import traceback self.core.information("Exception in translator! %s" % (traceback.format_exc(),)) -- cgit v1.2.3