master
endorphant 2018-02-25 16:28:40 -05:00
commit a2a8f719f3
1 changed files with 4 additions and 1 deletions

View File

@ -405,7 +405,10 @@ def www_neighbors():
url = config.LIVE+user+"/"+userRC["publish dir"] url = config.LIVE+user+"/"+userRC["publish dir"]
lastfile = "" lastfile = ""
files = os.listdir(os.path.join("/home", user, ".ttbp", "entries")) try:
files = os.listdir(os.path.join("/home", user, ".ttbp", "entries"))
except OSError:
files = []
files.sort() files.sort()
for filename in files: for filename in files:
if valid(filename): if valid(filename):