From 74798248b9e149c7f5e867ae6e979f1dc83e64ec Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 1 Nov 2016 10:54:04 +0100 Subject: [PATCH] [fix] remove debug code --- prosopopee/prosopopee.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index c16ab1f..29c2ae3 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -281,9 +281,7 @@ def process_directory(gallery_name, settings, parent_templates, parent_gallery_p else: gallery_path = gallery_name - from ipdb import launch_ipdb_on_exception - with launch_ipdb_on_exception(): - gallery_settings = yaml.safe_load(open(Path(".").joinpath(gallery_path, "settings.yaml").abspath(), "r")) + gallery_settings = yaml.safe_load(open(Path(".").joinpath(gallery_path, "settings.yaml").abspath(), "r")) error(isinstance(gallery_settings, dict), "Your %s should be a dict" % gallery_name.joinpath("settings.yaml")) error(gallery_settings.get("title"), "You should specify a title in %s" % gallery_name.joinpath("settings.yaml"))