[mod] make error message more explicite
This commit is contained in:
parent
97e6e98457
commit
5ae3ca88e2
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user