Permalink
Browse files

ignore dotfiles

  • Loading branch information...
1 parent 091923f commit d82597a110dbcb61703fb4b0eda1deaa1f2b7f3b @jcarbaugh jcarbaugh committed Oct 25, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 pbserver.py
View
@@ -74,7 +74,8 @@ class PhotoboothInitHandler(web.RequestHandler):
def get(self):
data = {'photos': []}
for filename in os.listdir(strips_path):
- data['photos'].append(filename)
+ if not filename.startswith('.'):
+ data['photos'].append(filename)
self.finish(data)
class PhotoboothWebSocket(websocket.WebSocketHandler):

0 comments on commit d82597a

Please sign in to comment.