From dd8e21585e797c7926c765045578f91a4165b962 Mon Sep 17 00:00:00 2001 From: miro Date: Wed, 25 Sep 2024 23:44:47 +0100 Subject: [PATCH] remove bad comments --- ovos_config/__main__.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ovos_config/__main__.py b/ovos_config/__main__.py index ef1d239..f51af78 100644 --- a/ovos_config/__main__.py +++ b/ovos_config/__main__.py @@ -166,7 +166,7 @@ def autoconfigure(lang, online, offline, male, female): try: from ovos_utils.lang import standardize_lang_tag stdlang = standardize_lang_tag(lang, macro=True) - console.print(f"Standardized lang-code: {stdlang}") + console.print(f"[blue]Standardized lang-code:[/blue] {stdlang}") except ImportError: stdlang = lang console.print(f"[red]ERROR: Failed to standardize lang tag, please install latest 'ovos-utils' package[/red]") @@ -246,9 +246,15 @@ def do_merge(folder): console.print(f"Config updated: {config.path}") print_json(json.dumps({k: v for k, v in config.items() - if k in ["lang", "tts", "stt", - "system_unit", "date_format", - "time_format", "spoken_time_format"]})) + if k in ["lang", + "tts", "stt", + "system_unit", + "temperature_unit", + "windspeed_unit", + "precipitation_unit", + "date_format", + "time_format", + "spoken_time_format"]})) @config.command()