Update textsourcebase.py

This commit is contained in:
恍兮惚兮 2024-09-03 09:09:00 +08:00
parent 67e9dfde19
commit 4c3aab96aa

View File

@ -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):