Fix the result value of Configuration.obtained not being initialized

This commit is contained in:
Username404-59 2021-04-23 11:57:18 +02:00
parent b2abce966a
commit 0c107be94b
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ object Configuration {
setWritable(true)
writeText(base)
setReadable(true)
} else result = try {
}; result = try {
ConfigFactory.parseFile(file)
} catch (e: ConfigException) {
Snowy.logs.warn("Could not parse the snowy configuration file, the default configuration will be used instead.")