mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
LocalSource: Create cover file if it doesn't exist (#7954)
This commit is contained in:
parent
032b377de7
commit
0c7b1bda7f
@ -349,6 +349,7 @@ class LocalSource(
|
||||
var coverFile = getCoverFile(manga.url, baseDirsFiles)
|
||||
if (coverFile == null) {
|
||||
coverFile = File(mangaDir.absolutePath, DEFAULT_COVER_NAME)
|
||||
coverFile.createNewFile()
|
||||
}
|
||||
|
||||
// It might not exist at this point
|
||||
|
Loading…
Reference in New Issue
Block a user