[fix] remove debug code
This commit is contained in:
parent
45352088f4
commit
74798248b9
@ -281,8 +281,6 @@ def process_directory(gallery_name, settings, parent_templates, parent_gallery_p
|
|||||||
else:
|
else:
|
||||||
gallery_path = gallery_name
|
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(isinstance(gallery_settings, dict), "Your %s should be a dict" % gallery_name.joinpath("settings.yaml"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user