mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-19 19:46:59 +02:00
Fix translation command
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ def create_command(commands, concat=False):
|
||||
|
||||
|
||||
async def translate(language, json_output=False):
|
||||
async with HonAPI() as hon:
|
||||
async with HonAPI(anonymous=True) as hon:
|
||||
keys = await hon.translation_keys(language)
|
||||
if json_output:
|
||||
print(json.dumps(keys, indent=4))
|
||||
|
||||
Reference in New Issue
Block a user