mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 09:15:12 +03:00
Fix backup failing when source isn't installed
This commit is contained in:
parent
23a8e31791
commit
0a6de2b3ea
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class BackupManager(val context: Context, version: Int = CURRENT_VERSION) {
|
||||||
mangaEntries.add(backupMangaObject(manga, flags))
|
mangaEntries.add(backupMangaObject(manga, flags))
|
||||||
|
|
||||||
// Maintain set of extensions/sources used (excludes local source)
|
// Maintain set of extensions/sources used (excludes local source)
|
||||||
if (manga.source != 0L) {
|
if (manga.source != 0L && sourceManager.get(manga.source) != null) {
|
||||||
extensions.add("${manga.source}:${sourceManager.get(manga.source)!!.name}")
|
extensions.add("${manga.source}:${sourceManager.get(manga.source)!!.name}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue