From f848dec021b29deac53e5c424234d95e011f5e94 Mon Sep 17 00:00:00 2001 From: tiagohm Date: Sat, 7 Dec 2024 23:34:06 -0300 Subject: [PATCH] [api]: Use existing IERS file if it failed to update --- api/src/main/kotlin/nebulosa/api/atlas/IERSUpdateTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/kotlin/nebulosa/api/atlas/IERSUpdateTask.kt b/api/src/main/kotlin/nebulosa/api/atlas/IERSUpdateTask.kt index 5023afdb7..a11809b87 100644 --- a/api/src/main/kotlin/nebulosa/api/atlas/IERSUpdateTask.kt +++ b/api/src/main/kotlin/nebulosa/api/atlas/IERSUpdateTask.kt @@ -93,7 +93,7 @@ class IERSUpdateTask( LOG.error("failed to download finals2000A.all", e) } - return false + return exists() } companion object {