Fix set-string command missing parameter

This commit is contained in:
Kiril Kovachev 2024-10-16 11:52:31 +01:00
parent 49d592bfca
commit 2348d7c425

View File

@ -50,6 +50,7 @@ def add_string(string):
@click.command("set-string")
@click.argument("lang")
@click.argument("string")
@click.argument("value")
def set_string(lang, string, value):
"""Set the value of a string for a particular language's translation file."""
path = Path("kanken_online/static/lang", f"{lang}.json")