diff options
author | Galen Guyer <galen@galenguyer.com> | 2023-01-23 12:42:32 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2023-01-23 12:42:32 -0500 |
commit | 58d9842821f6aa8c420c667948b961f55eea4be4 (patch) | |
tree | a60755cd0da863e263f72f093fcc8a1b5e131361 | |
parent | a237eb8334dfc180fc1cecff06a849efe51f603c (diff) |
fix check for empty update file
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 4ca7130..db56c1f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -103,7 +103,7 @@ fn get_last_updated_header(url: &str) -> Option<DateTime<Utc>> { .unwrap_or(0); // This is the size given when there's no updates - if len <= 211 { + if len <= 212 { return None; } |