mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
Update news_manager.py
separator character change
This commit is contained in:
@@ -194,7 +194,7 @@ class NewsManager:
|
|||||||
next_news = all_news[(self.current_news_index + 1) % len(all_news)]
|
next_news = all_news[(self.current_news_index + 1) % len(all_news)]
|
||||||
|
|
||||||
# Format the news text with proper spacing and separator
|
# Format the news text with proper spacing and separator
|
||||||
separator = " ● " # Visual separator between news items
|
separator = " - " # Visual separator between news items
|
||||||
current_text = f"{current_news['symbol']}: {current_news['title']}"
|
current_text = f"{current_news['symbol']}: {current_news['title']}"
|
||||||
next_text = f"{next_news['symbol']}: {next_news['title']}"
|
next_text = f"{next_news['symbol']}: {next_news['title']}"
|
||||||
news_text = f"{current_text}{separator}{next_text}"
|
news_text = f"{current_text}{separator}{next_text}"
|
||||||
|
|||||||
Reference in New Issue
Block a user