fix input downloader

This commit is contained in:
Andrew Glaze
2024-12-01 21:08:59 -05:00
parent 02f09d6cca
commit f7532f5076

View File

@@ -35,7 +35,7 @@ class InputDownloader {
if (res.statusCode() == 403) { if (res.statusCode() == 403) {
throw ConnectException("Failed to download input for day $day. Is your session token correct?") throw ConnectException("Failed to download input for day $day. Is your session token correct?")
} }
if (res.statusCode() != ) { if (res.statusCode() != 200) {
throw ConnectException("Failed to download input for day $day. Is the day open yet?") throw ConnectException("Failed to download input for day $day. Is the day open yet?")
} }