# HG changeset patch # User drewp@bigasterisk.com # Date 2010-06-22 02:27:30 # Node ID f85304fdc9756249fcb80d3732c865c651cf9a13 # Parent 721269c8dd70b458b96aca97bcc9875cf86b84c0 cleanup no-song logic Ignore-this: e03fc8ed94bbda94c63ae947ab4939bd diff --git a/light9/vidref/replay.py b/light9/vidref/replay.py --- a/light9/vidref/replay.py +++ b/light9/vidref/replay.py @@ -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())