about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--atom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/atom.go b/atom.go
index d905348..3fc3d4a 100644
--- a/atom.go
+++ b/atom.go
@@ -94,7 +94,7 @@ func synthesizeAtom(r *http.Request, dir string, updated time.Time) AtomFeed {
 		}
 		defer cbz.Close()
 		for i, f := range cbz.File {
-			if isImageFile(f) {
+			if !isImageFile(f) {
 				continue
 			}
 			images = append(images,