Clear image file

Whenever a song changes, we need to clear the path that we tell the
album art image to load.  Otherwise, it will show art from the previous
track if none can be found for the current track.
This commit is contained in:
Bryan Schumaker 2010-10-27 09:44:44 -04:00
parent 4f899c4834
commit b1534f082d
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class AlbumArt(Image):
libsaria.event.invite("POSTGETART", self.set)
def preload(self, *args):
self.file = None
self.hide()
def set(self, file=None):