From 4fe9851f6c5c3b9914346f2797ea6bcf6b584683 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 8 Dec 2015 10:37:21 +0100 Subject: [PATCH] [fix] bad test --- prosopopoee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosopopoee b/prosopopoee index 24f3ece..b435f44 100755 --- a/prosopopoee +++ b/prosopopoee @@ -61,7 +61,7 @@ def main(): cover_image_path = os.path.join(os.getcwd(), gallery, gallery_settings["cover"]) - error(not os.path.exists(cover_image_path), "File for %s cover image doesn't exists at %s" % (gallery, cover_image_path)) + error(os.path.exists(cover_image_path), "File for %s cover image doesn't exists at %s" % (gallery, cover_image_path)) gallery_title = gallery_settings["title"] gallery_sub_title = gallery_settings.get("sub_title", "")