Browse Source

site name cannot be assets

version-14
Pratik Vyas 11 years ago
parent
commit
c830f56fb7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      webnotes/cli.py

+ 2
- 1
webnotes/cli.py View File

@@ -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


Loading…
Cancel
Save