# HG changeset patch # User Ludovic Chabant # Date 1487570673 28800 # Node ID a85d08ffe1f6d63482958ec75ae3510161c83f98 # Parent f0930178fd01206e67bc69de8da37c3652c84d33 admin: Fix crash when running `admin run` outside of a website. diff -r f0930178fd01 -r a85d08ffe1f6 piecrust/commands/builtin/admin.py --- 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__)