feat: Add max width for Now page contents
All checks were successful
Build Docker / BuildImage (push) Successful in 54s

This commit is contained in:
2025-10-30 20:06:32 +11:00
parent 776b7de753
commit da347fd860
4 changed files with 20 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ import requests
from blueprints.spotify import get_spotify_track
MAX_WIDTH = 80
def clean_path(path:str):
path = path.strip("/ ").lower()
# Strip any .html extension