浏览代码

site name cannot be assets

version-14
Pratik Vyas 11 年前
父节点
当前提交
c830f56fb7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      webnotes/cli.py

+ 2
- 1
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


正在加载...
取消
保存