diff --git a/LunaTranslator/LunaTranslator/textsource/textsourcebase.py b/LunaTranslator/LunaTranslator/textsource/textsourcebase.py index a0207b86..bd0af593 100644 --- a/LunaTranslator/LunaTranslator/textsource/textsourcebase.py +++ b/LunaTranslator/LunaTranslator/textsource/textsourcebase.py @@ -59,11 +59,7 @@ class basetext: waitforresultcallback=resultwaitor.put, onlytrans=True, ) - text, info = resultwaitor.get(), 0 - if info: - gobject.baseobject.displayinfomessage(text, info) - else: - return text + return resultwaitor.get() @property def isautorunning(self):