From bc003a5699cc7f745463cd564658190ac101bf5d Mon Sep 17 00:00:00 2001
From: Tristan Williams <tgwil@tgwil.net>
Date: Sun, 30 Mar 2025 14:30:10 -0400
Subject: Did I mention I need to start testing BEFORE commit?

---
 sortashuffle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sortashuffle.py b/sortashuffle.py
index 31c57ef..806f2a4 100644
--- a/sortashuffle.py
+++ b/sortashuffle.py
@@ -40,7 +40,7 @@ def shuffle(showlist, weightlist):
     """Shuffle the playlist."""
     shuffled = []
     while any(showlist):
-        selection = select_show(showlist, weightlist, previous)
+        selection = select_show(showlist, weightlist)
         shuffled.append(SOURCES[selection] + "//" + showlist[selection].pop(0))
         weightlist[selection] = len(showlist[selection])
     return shuffled
-- 
cgit v1.2.3