Changeset - f85304fdc975
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 15 years ago 2010-06-22 02:27:30
drewp@bigasterisk.com
cleanup no-song logic
Ignore-this: e03fc8ed94bbda94c63ae947ab4939bd
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
light9/vidref/replay.py
Show inline comments
 
@@ -38,7 +38,7 @@ class ReplayViews(object):
 
        a new replay view)
 
        """
 
        t1 = time.time()
 
        if position.get('started') != self.lastStart:
 
        if position.get('started') != self.lastStart and position['song']:
 
            self.loadViewsForSong(position['song'])
 
            self.lastStart = position['started']
 
        for v in self.views:
 
@@ -54,9 +54,6 @@ class ReplayViews(object):
 
            v.destroy()
 
        self.views[:] = []
 

	
 
        if not song:
 
            return
 
        
 
        d = songDir(song)
 
        try:
 
            takes = sorted(t for t in os.listdir(d) if t.isdigit())
0 comments (0 inline, 0 general)