From 5ae3ca88e2cb04e3eb218f049df3f2278b07d4fd Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 24 Jan 2016 12:57:19 +0100 Subject: [PATCH] [mod] make error message more explicite --- prosopopee/prosopopee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 93536ab..c6ae00d 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -106,7 +106,7 @@ def main(): dirs = filter(lambda x: x not in (".", "..") and os.path.isdir(x) and os.path.exists(os.path.join(os.getcwd(), x, "settings.yaml")), os.listdir(os.getcwd())) - error(dirs, "I can't find at least one directory with a settings.yaml in the current working directory, you don't have any gallery?") + error(dirs, "I can't find at least one directory with a settings.yaml in the current working directory (NOT the settings.yml in your current directory, but a one INSIDE A DIRECTORY in your current working directory), you don't have any gallery?") if not os.path.exists("build"): os.makedirs("build")