From be1a333d753a80d51a27ad5ef62b5c39c1a9719d Mon Sep 17 00:00:00 2001
From: Edward Betts <edward@4angle.com>
Date: Sat, 25 Nov 2023 16:05:17 +0000
Subject: [PATCH] Don't include bad state in one line output

---
 google_stocks/__init__.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/google_stocks/__init__.py b/google_stocks/__init__.py
index f0c24f2..24a6cbb 100644
--- a/google_stocks/__init__.py
+++ b/google_stocks/__init__.py
@@ -146,7 +146,4 @@ class Index:
     @property
     def one_line(self) -> str:
         """Index name, price and price change."""
-        return (
-            f"{self.title}: {self.price} ({self.percent_change}%) "
-            + f"{self.state} {self.timestamp}"
-        )
+        return f"{self.title}: {self.price} ({self.percent_change}%)  {self.timestamp}"