Set the downloading flag in order to mark it as successful (Related #1581)

This commit is contained in:
games647 2018-06-03 09:47:52 +02:00
parent f39141ed53
commit 135e323358
No known key found for this signature in database
GPG Key ID: BFC68C8708713A88

View File

@ -141,7 +141,8 @@ public class GeoIpService {
// download database to temporarily location // download database to temporarily location
tempFile = Files.createTempFile(ARCHIVE_FILE, null); tempFile = Files.createTempFile(ARCHIVE_FILE, null);
if (!downloadDatabaseArchive(tempFile)) { if (!downloadDatabaseArchive(tempFile)) {
ConsoleLogger.info("There is no newer GEO IP database uploaded. Using the old one for now."); ConsoleLogger.info("There is no newer GEO IP database uploaded to MaxMind. Using the old one for now.");
downloading = false;
return; return;
} }