From c830f56fb7893cbe302e82fe9651ae7071c4b13a Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Mon, 27 Jan 2014 11:21:04 +0530 Subject: [PATCH] site name cannot be assets --- webnotes/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webnotes/cli.py b/webnotes/cli.py index 5989d01840..83fd448fca 100755 --- a/webnotes/cli.py +++ b/webnotes/cli.py @@ -71,7 +71,8 @@ def get_sites(sites_path=None): sites_path = '.' return [site for site in os.listdir(sites_path) if not os.path.islink(os.path.join(sites_path, site)) - and os.path.isdir(os.path.join(sites_path, site))] + and os.path.isdir(os.path.join(sites_path, site)) + and not site in ('assets',)] def setup_parser(): import argparse