~metalune/simplytranslate_gemini

d6d760d7b0ce46bfbdd05962525ff9c8814ecd35 — fattalion 17 days ago 200f991 master
Show engine names correctly
1 files changed, 2 insertions(+), 2 deletions(-)

M main.py
M main.py => main.py +2 -2
@@ 91,10 91,10 @@ def index(request, engine_name="google", rest=""):

    engine_text_google = f"=> /google/{fr}/{to}/{escaped_text} "
    engine_text_libre = f"=> /libre/{fr}/{to}/{escaped_text} "
    if engine == "google":
    if engine_name == "google":
        engine_text_google += "+ Google"
        engine_text_libre += "Libre"
    elif engine == "libre":
    elif engine_name == "libre":
        engine_text_google += "Google"
        engine_text_libre += "+ Libre"