homes: plus de généricité & /home-adh/x/xlogin
This commit is contained in:
parent
de45237b50
commit
20a6ee6afb
6 changed files with 15 additions and 14 deletions
|
@ -10,8 +10,8 @@ class ClubList(PagesPerso.AccountList):
|
|||
|
||||
def comptes(self):
|
||||
"""Retourne la liste des comptes"""
|
||||
return filter(lambda x: os.path.isdir(u"/home/club/%s" % x) and not os.path.islink(u"/home/club/%s" % x),
|
||||
os.listdir(u"/home/club"))
|
||||
return filter(lambda x: os.path.isdir(u"/home/c/club/%s" % x) and not os.path.islink(u"/home/c/club/%s" % x),
|
||||
os.listdir(u"/home/c/club"))
|
||||
|
||||
def execute(macro, args):
|
||||
return macro.formatter.rawHTML(ClubList().to_html())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue