mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
本地书籍无权限则保存到自己选定的文件夹
This commit is contained in:
parent
818bda53ac
commit
d3c8530556
@ -44,7 +44,9 @@ class TextFile(private val book: Book) {
|
|||||||
}
|
}
|
||||||
analyze(fd, book, rulePattern)
|
analyze(fd, book, rulePattern)
|
||||||
} finally {
|
} finally {
|
||||||
Os.close(fd)
|
if (fd.valid()) {
|
||||||
|
Os.close(fd)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user