patrickramos's picture
Add date filtering for pitcher dashboard
eaf2663
raw
history blame
155 Bytes
import os
DATA_DIR = 'data'
SEASONS = sorted([int(folder) for folder in os.listdir(DATA_DIR) if not folder.startswith('.')])
LATEST_SEASON = max(SEASONS)