Skip over user asm (broken thunix mirror :P)

This commit is contained in:
Robert Miles 2018-11-24 03:48:22 -05:00
parent e858515d39
commit 61d59d956a
1 changed files with 3 additions and 1 deletions

View File

@ -7,12 +7,14 @@ tdp["name"] = "tilde.team"
tdp["url"] = "https://tilde.team"
tdp["signup_url"] = tdp["url"]+"/signup"
users = subprocess.check_output(["/usr/bin/members","team"]).decode('ascii').split()
tdp["user_count"] = len(users)
tdp["user_count"] = len(users)-1
tdp["want_users"] = True
tdp["admin_email"] = "sudoers@tilde.team"
tdp["description"] = "a digital community for socializing, learning, and making cool stuff, tilde.team is a shared system that provides a radically inclusive, non-commercial space for teaching, learning, practicing and enjoying the social medium of unix."
tdpusers = []
for user in users:
if user=="asm":
continue
tdpuser = dict(username=user)
title = bs(requests.get("https://tilde.team/~{}".format(user)).text,"lxml").title
if title is None: