From e2b34bec6e349027a6fa3692923f366990c36781 Mon Sep 17 00:00:00 2001 From: Thomas Feldmann Date: Sun, 11 Feb 2024 11:08:27 +0100 Subject: [PATCH] fix `organize show` --- CHANGELOG.md | 2 ++ organize/cli.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efbee40b..e1c42471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +- Fixes the `organize show` command which broke in v3.1.0. + ## v3.1.0 (2024-02-04) - Add a new output format `errorsonly` which only shows output if an error occured. diff --git a/organize/cli.py b/organize/cli.py index 63fade73..e83c4ac2 100644 --- a/organize/cli.py +++ b/organize/cli.py @@ -164,7 +164,7 @@ def show(config: Optional[str], path: bool, reveal: bool) -> None: _open_uri(config_path.parent.as_uri()) else: syntax = Syntax(config_path.read_text(encoding="utf-8"), "yaml") - console.print(escape(syntax)) + console.print(syntax) def list_() -> None: