From 03cffe3e301c689dcf71272fd416faeb50dd2aad Mon Sep 17 00:00:00 2001 From: endorphant Date: Sun, 22 May 2016 20:52:27 -0400 Subject: [PATCH] whitespace adjustment better alignment for neighbor view printing for users not publishing --- bin/_ttbp.py | 4 ++-- bin/ttbp.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/_ttbp.py b/bin/_ttbp.py index bf2a7c4..a92155c 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -422,7 +422,7 @@ def view_neighbors(users): for user in users: userRC = json.load(open(os.path.join("/home", user, ".ttbp", "config", "ttbprc"))) - url="\t\t\t\t" + url="\t\t\t" if userRC.get("publish dir"): url = LIVE+user+"/"+userRC.get("publish dir") count = 0 @@ -902,7 +902,7 @@ def update_version(): # increment user versionfile - open(versionFile, "w").write(_version__) + open(versionFile, "w").write(__version__) return "you're all good to go, "+chatter.say("friend")+"!\n" diff --git a/bin/ttbp.py b/bin/ttbp.py index 15425b4..6141286 100644 --- a/bin/ttbp.py +++ b/bin/ttbp.py @@ -413,7 +413,7 @@ def view_neighbors(users): for user in users: userRC = json.load(open(os.path.join("/home", user, ".ttbp", "config", "ttbprc"))) - url="\t\t\t\t" + url="\t\t\t" if userRC.get("publish dir"): url = LIVE+user+"/"+userRC.get("publish dir") count = 0