From 66e2d83c84aec6b00e483e807b06b6a8ae11aaa0 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Wed, 1 Jan 2025 01:14:04 -0600 Subject: [PATCH] refactor: no need for extra var --- gen_alt_text.py | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gen_alt_text.py b/gen_alt_text.py index 5073bed..7abdeaa 100644 --- a/gen_alt_text.py +++ b/gen_alt_text.py @@ -108,8 +108,7 @@ def main(): print("Error: ", e.error) exit(1) - md_content = Markdown(response["message"]["content"]) - console.print(md_content) + console.print(Markdown(response["message"]["content"])) if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index 237e07c..d86f2a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "gen-alt-text" -version = "0.2" +version = "0.3" authors = [ { name="Jeffrey Serio", email="hyperreal@fedoraproject.org" }, ]