Skip to content

Commit

Permalink
remove bad comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Sep 25, 2024
1 parent 25572f4 commit dd8e215
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions ovos_config/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]")
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit dd8e215

Please sign in to comment.