We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a59f3 commit 804ab44Copy full SHA for 804ab44
1 file changed
FindImageResolution/ComicRack/BookCollection.cs
@@ -18,7 +18,8 @@ public BookCollection(object[] books)
18
for (int i = 0; i < books.Length; i++)
19
{
20
var book = new Book(books[i]);
21
- collection.Add(book);
+ if (book != null && !string.IsNullOrEmpty(book.FilePath))
22
+ collection.Add(book);
23
}
24
25
0 commit comments