fix input downloader
This commit is contained in:
@@ -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?")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user