refactor: no need for extra var

This commit is contained in:
Jeffrey Serio 2025-01-01 01:14:04 -06:00
parent 5e6a01ce16
commit 66e2d83c84
2 changed files with 2 additions and 3 deletions

View File

@ -108,8 +108,7 @@ def main():
print("Error: ", e.error) print("Error: ", e.error)
exit(1) exit(1)
md_content = Markdown(response["message"]["content"]) console.print(Markdown(response["message"]["content"]))
console.print(md_content)
if __name__ == "__main__": if __name__ == "__main__":

View File

@ -1,6 +1,6 @@
[project] [project]
name = "gen-alt-text" name = "gen-alt-text"
version = "0.2" version = "0.3"
authors = [ authors = [
{ name="Jeffrey Serio", email="hyperreal@fedoraproject.org" }, { name="Jeffrey Serio", email="hyperreal@fedoraproject.org" },
] ]