1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-21 13:34:18 +00:00

Update worker.py

This commit is contained in:
智慧雨泽 2020-08-22 22:40:47 +08:00 committed by GitHub
parent b08f3b5b8e
commit c077e4047d
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1367,7 +1367,7 @@ class Worker(threading.Thread):
keyboard.append([telegram.KeyboardButton(lang)])
options[lang] = "uk"
if "zh_cn" in configloader.config["Language"]["enabled_languages"]:
lang = "🇨🇳简体中文"
lang = "🇨🇳 简体中文"
keyboard.append([telegram.KeyboardButton(lang)])
options[lang] = "zh_cn"
# Send the previously created keyboard to the user (ensuring it can be clicked only 1 time)