~metalune/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH] simplytranslate_web: Fix get_languages typo in API

Details
Message ID
<PR3P191MB112931BF9C47FF3B65374D8FDF839@PR3P191MB1129.EURP191.PROD.OUTLOOK.COM>
DKIM signature
pass
Download raw message
Patch: +1 -1
From: ManeraKai <manerakai@protonmail.com>

---
 main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.py b/main.py
index 2795dc0..b9eed57 100644
--- a/main.py
+++ b/main.py
@@ -80,7 +80,7 @@ async def api_get_languages():
    engine_name = request.args.get("engine")
    engine = get_engine(engine_name, engines, engines[0])

    return engine.get_languages()
    return engine.get_supported_languages()


@app.route("/api/tts/")
-- 
2.25.1
Details
Message ID
<CF8R0JBQWL2W.052FI7XQ25FE@thinkpad>
In-Reply-To
<PR3P191MB112931BF9C47FF3B65374D8FDF839@PR3P191MB1129.EURP191.PROD.OUTLOOK.COM> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
I implemented this patch myself because for whatever reason it wouldn't
merge with my local version of simplytranslate_web and I was too lazy to
debug that issue, I hope you don't mind it.
Details
Message ID
<PR3P191MB1129987ADE592827CE06A256DF839@PR3P191MB1129.EURP191.PROD.OUTLOOK.COM>
In-Reply-To
<CF8R0JBQWL2W.052FI7XQ25FE@thinkpad> (view parent)
DKIM signature
pass
Download raw message
😭
Reply to thread Export thread (mbox)