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:
userRC = json.load(open(os.path.join("/home", user, ".ttbp", "config", "ttbprc")))
url = LIVE+user+"/"+userRC["publish dir"]
count = 0
lastfile = ""
files = os.listdir(os.path.join("/home", user, ".ttbp", "entries"))
files.sort()
for filename in files:
if core.valid(filename):
count += 1
lastfile = os.path.join("/home", user, ".ttbp", "entries", filename)
ago = "never"