mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
Include assets/stocks directory in repository and update code to use it
This commit is contained in:
0
assets/stocks/.gitkeep
Normal file
0
assets/stocks/.gitkeep
Normal file
@@ -38,9 +38,8 @@ class StockManager:
|
||||
self.last_fps_log_time = time.time()
|
||||
self.frame_times = []
|
||||
|
||||
# Create assets/stocks directory if it doesn't exist
|
||||
# Use the assets/stocks directory from the repository
|
||||
self.logo_dir = os.path.join('assets', 'stocks')
|
||||
os.makedirs(self.logo_dir, exist_ok=True)
|
||||
|
||||
self.headers = {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
|
||||
|
||||
Reference in New Issue
Block a user