diff --git a/Scripts/player.py b/Scripts/player.py index dcf7d9307..6e6e21d20 100755 --- a/Scripts/player.py +++ b/Scripts/player.py @@ -22,13 +22,10 @@ from PIL import Image, ImageTk class UI(tkinter.Label): def __init__(self, master, im): - if isinstance(im, list): + self.im = im + if isinstance(self.im, list): # list of images - self.im = im[1:] - im = self.im[0] - else: - # sequence - self.im = im + im = self.im.pop(0) if im.mode == "1": self.image = ImageTk.BitmapImage(im, foreground="white")