Fixed release actor crash when no actors are present.
This commit is contained in:
@@ -321,7 +321,7 @@ async function storeScenes(releases) {
|
||||
// media is more error-prone, associate separately
|
||||
await associateReleaseMedia(releasesWithId);
|
||||
|
||||
if (argv.sceneActors) {
|
||||
if (argv.sceneActors && actors) {
|
||||
await scrapeActors(actors.map(actor => actor.name));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user