Mercurial > piecrust2
diff piecrust/commands/builtin/admin.py @ 842:a85d08ffe1f6
admin: Fix crash when running `admin run` outside of a website.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 19 Feb 2017 22:04:33 -0800 |
parents | 5e91bc0e3b4d |
children | 4850f8c21b6e |
line wrap: on
line diff
--- a/piecrust/commands/builtin/admin.py Wed Feb 15 22:17:54 2017 -0800 +++ b/piecrust/commands/builtin/admin.py Sun Feb 19 22:04:33 2017 -0800 @@ -3,6 +3,7 @@ import logging from piecrust import CACHE_DIR from piecrust.commands.base import ChefCommand +from piecrust.pathutil import SiteNotFoundError logger = logging.getLogger(__name__)