Merge branch 'master' of http://117.50.13.128:8889/wrm1995/codepedia2
This commit is contained in:
commit
736ceee7cb
|
@ -21,7 +21,7 @@ class ProjectTree:
|
||||||
dirs.append(file)
|
dirs.append(file)
|
||||||
else:
|
else:
|
||||||
files.append(file)
|
files.append(file)
|
||||||
return dirs,files
|
return sorted(dirs,key=str.lower),sorted(files,key=str.lower)
|
||||||
|
|
||||||
#####生成节点树##########
|
#####生成节点树##########
|
||||||
def genetree(self,path,parentdirs,project_name,project_id):
|
def genetree(self,path,parentdirs,project_name,project_id):
|
||||||
|
|
Loading…
Reference in New Issue