whitespace adjustment
better alignment for neighbor view printing for users not publishingmaster
parent
68b8f5b6ab
commit
03cffe3e30
|
@ -422,7 +422,7 @@ def view_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="\t\t\t\t"
|
url="\t\t\t"
|
||||||
if userRC.get("publish dir"):
|
if userRC.get("publish dir"):
|
||||||
url = LIVE+user+"/"+userRC.get("publish dir")
|
url = LIVE+user+"/"+userRC.get("publish dir")
|
||||||
count = 0
|
count = 0
|
||||||
|
@ -902,7 +902,7 @@ def update_version():
|
||||||
|
|
||||||
|
|
||||||
# increment user versionfile
|
# increment user versionfile
|
||||||
open(versionFile, "w").write(_version__)
|
open(versionFile, "w").write(__version__)
|
||||||
|
|
||||||
return "you're all good to go, "+chatter.say("friend")+"!\n"
|
return "you're all good to go, "+chatter.say("friend")+"!\n"
|
||||||
|
|
||||||
|
|
|
@ -413,7 +413,7 @@ def view_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="\t\t\t\t"
|
url="\t\t\t"
|
||||||
if userRC.get("publish dir"):
|
if userRC.get("publish dir"):
|
||||||
url = LIVE+user+"/"+userRC.get("publish dir")
|
url = LIVE+user+"/"+userRC.get("publish dir")
|
||||||
count = 0
|
count = 0
|
||||||
|
|
Loading…
Reference in New Issue