Hide dotfiles

This commit is contained in:
dave 2014-08-28 13:32:54 -07:00
parent 690d2e923a
commit e5f08c222b
1 changed files with 2 additions and 0 deletions

2
app.py
View File

@ -228,6 +228,8 @@ if __name__ == '__main__' or 'uwsgi' in __name__:
files.sort()
allFiles = []
for i in range(0, len(files)):
if item[0:1]==".":
continue;
item = files[i]
size = os.path.getsize(recordingsDir+item)
allFiles.append({