#1260 fix instrumentation compilation

This commit is contained in:
Sean Mac Gillicuddy 2019-07-09 14:32:15 +01:00
parent ff77b55fa4
commit e38ffb5c80

View File

@ -205,7 +205,7 @@ object FileUtils {
}
}
fun getAllZimParts(book: Book): List<File> {
@JvmStatic fun getAllZimParts(book: Book): List<File> {
val files = ArrayList<File>()
if (book.file.path.endsWith(".zim") || book.file.path.endsWith(".zim.part")) {
if (book.file.exists()) {