瀏覽代碼

enlist as site only if dir

version-14
Pratik Vyas 11 年之前
父節點
當前提交
ac8985cd63
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      wnf.py

+ 2
- 1
wnf.py 查看文件

@@ -53,7 +53,8 @@ def get_sites():
import os
import conf
return [site for site in os.listdir(conf.sites_dir)
if not os.path.islink(os.path.join(conf.sites_dir, site))]
if not os.path.islink(os.path.join(conf.sites_dir, site))
and os.path.isdir(os.path.join(conf.sites_dir, site))]
def setup_parser():
import argparse


Loading…
取消
儲存