fix input downloader
This commit is contained in:
1 parent
02f09d6cca
commit
f7532f5076
1 file changed
+1
-1
@@ -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