# HG changeset patch # User drewp@bigasterisk.com # Date 2010-06-20 21:10:15 # Node ID f61a7b03765e08e0a36efa29680e368655869fe7 # Parent b50e4d43dd3eb58b1ef78de83e187189b434c969 vidref: ignore take dirs whose names aren't just times, allowing for .hide, etc Ignore-this: 51badc93bc8c5cc4509bdd98c361e92c diff --git a/light9/vidref/replay.py b/light9/vidref/replay.py --- a/light9/vidref/replay.py +++ b/light9/vidref/replay.py @@ -56,7 +56,7 @@ class ReplayViews(object): d = songDir(song) try: - takes = sorted(os.listdir(d)) + takes = sorted(t for t in os.listdir(d) if t.isdigit()) except OSError: return