Fix translation command

This commit is contained in:
Andre Basche 2023-04-10 06:34:19 +02:00
parent e8531f3faf
commit 3e3fc7ad66
4 changed files with 45 additions and 34 deletions

View file

@ -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))