Update dvc/commands/plots.py

This commit is contained in:
skshetry
2022-08-29 01:46:47 +03:00
committed by Ruslan Kuprieiev
parent b7aea414e6
commit 37c8ef3406
+1 -1
View File
@@ -232,7 +232,7 @@ class CmdPlotsTemplates(CmdBase):
if target:
for template in TEMPLATES:
if target == template.DEFAULT_NAME:
ui.write(json.dumps(template.DEFAULT_CONTENT))
ui.write_json(template.DEFAULT_CONTENT)
return 0
raise InvalidArgumentError(f"Unexpected template: {target}.")