Archived
1
0
Fork 0

Update __init__.py

This commit is contained in:
多羅狼 2023-08-15 23:58:29 +08:00 committed by GitHub
parent 30986a29ff
commit d6eb5d5fd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ async def _(msg: Bot.MessageSession):
await msg.finish([BImage(output)])
except ValueError as e:
if str(e).startswith('501'):
await msg.finish(msg.locale.t(' wolframalpha.message.incomprehensible'))
await msg.finish(msg.locale.t('wolframalpha.message.incomprehensible'))
@w.handle('ask <question> {{wolframalpha.help.ask}}')