From 7a30ca4a5b2c608ad32dd12be59bbb9e09fdecef Mon Sep 17 00:00:00 2001 From: endorphant Date: Sun, 15 May 2016 02:43:39 -0400 Subject: [PATCH] removing redundant counter --- bin/_ttbp.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/_ttbp.py b/bin/_ttbp.py index 94684da..5354fdd 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -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"