changeset 600:f61a7b03765e

vidref: ignore take dirs whose names aren't just times, allowing for .hide, etc Ignore-this: 51badc93bc8c5cc4509bdd98c361e92c
author drewp@bigasterisk.com
date Sun, 20 Jun 2010 21:10:15 +0000
parents b50e4d43dd3e
children 8b2f851788a6
files light9/vidref/replay.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/vidref/replay.py	Sun Jun 20 21:09:45 2010 +0000
+++ b/light9/vidref/replay.py	Sun Jun 20 21:10:15 2010 +0000
@@ -56,7 +56,7 @@
 
         d = songDir(song)
         try:
-            takes = sorted(os.listdir(d))
+            takes = sorted(t for t in os.listdir(d) if t.isdigit())
         except OSError:
             return