removing redundant counter

master
endorphant 2016-05-15 02:43:39 -04:00
parent 7c1e28e919
commit 7a30ca4a5b
1 changed files with 0 additions and 2 deletions

View File

@ -540,13 +540,11 @@ def www_neighbors(users):
for user in users: for user in users:
userRC = json.load(open(os.path.join("/home", user, ".ttbp", "config", "ttbprc"))) userRC = json.load(open(os.path.join("/home", user, ".ttbp", "config", "ttbprc")))
url = LIVE+user+"/"+userRC["publish dir"] url = LIVE+user+"/"+userRC["publish dir"]
count = 0
lastfile = "" lastfile = ""
files = os.listdir(os.path.join("/home", user, ".ttbp", "entries")) files = os.listdir(os.path.join("/home", user, ".ttbp", "entries"))
files.sort() files.sort()
for filename in files: for filename in files:
if core.valid(filename): if core.valid(filename):
count += 1
lastfile = os.path.join("/home", user, ".ttbp", "entries", filename) lastfile = os.path.join("/home", user, ".ttbp", "entries", filename)
ago = "never" ago = "never"