From 587a9bf90a21dd87fd0aa63d749f518adeb6a958 Mon Sep 17 00:00:00 2001 From: filifa Date: Sat, 3 Aug 2024 17:23:52 -0500 Subject: [PATCH] also allow subscribing to games in warmup --- mlbplaysave.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlbplaysave.sh b/mlbplaysave.sh index 6a36e33..bc14061 100755 --- a/mlbplaysave.sh +++ b/mlbplaysave.sh @@ -32,7 +32,7 @@ fi # grab the game pk of a single live game, if multiple (in case of spring # training) -gamePk=$(sqlite3 $db "select gamePk from games where teamId='$team' and state='In Progress' limit 1") +gamePk=$(sqlite3 $db "select gamePk from games where teamId='$team' and state in ('In Progress', 'Warmup') limit 1") if [[ -z "$gamePk" ]] then echo "$0:" 'no live games found' >&2