mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-26 13:01:57 +01:00
Ignore empty lines in key files
This commit is contained in:
parent
0ceecbba4f
commit
2993f65a1c
@ -37,7 +37,7 @@ object KeyReader {
|
||||
tmpOutputFile.bufferedWriter().use { writer ->
|
||||
val valid = inputStream!!.bufferedReader().useLines {
|
||||
for (line in it) {
|
||||
if (line.startsWith(";")) continue
|
||||
if (line.startsWith(";") || line.isBlank()) continue
|
||||
|
||||
val pair = line.split("=")
|
||||
if (pair.size != 2)
|
||||
|
Loading…
Reference in New Issue
Block a user