Skip to content

Commit

Permalink
fix: series genre is not imported from metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Aug 28, 2020
1 parent 18774cf commit 58fac36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class MetadataLifecycle(
title = patches.mostFrequent { it.title },
titleSort = patches.mostFrequent { it.titleSort },
status = patches.mostFrequent { it.status },
genres = patches.mapNotNull { it.genres }.flatten().toSet(),
genres = patches.mapNotNull { it.genres }.flatten().toSet().ifEmpty { null },
language = patches.mostFrequent { it.language },
summary = null,
readingDirection = patches.mostFrequent { it.readingDirection },
Expand Down

0 comments on commit 58fac36

Please sign in to comment.