From ba7539ddb72d9e6d095c3dbcd84f3f0738b09fd1 Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Tue, 11 Aug 2020 14:54:53 -0500 Subject: [PATCH] Fix bug --- src/main/kotlin/mdnet/base/MangaDexClient.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/mdnet/base/MangaDexClient.kt b/src/main/kotlin/mdnet/base/MangaDexClient.kt index 5566a79..1dbaa8e 100644 --- a/src/main/kotlin/mdnet/base/MangaDexClient.kt +++ b/src/main/kotlin/mdnet/base/MangaDexClient.kt @@ -213,6 +213,8 @@ class MangaDexClient(private val settingsFile: File, databaseFile: File, cacheFo if (startWebUi) { startWebUi() } + + settings = newSettings } catch (e: UnrecognizedPropertyException) { LOGGER.warn { "Settings file is invalid: '$e.propertyName' is not a valid setting" } } catch (e: JsonProcessingException) {