aboutsummaryrefslogtreecommitdiffstats
path: root/session_manager.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2021-12-22 22:14:43 +0100
committerEddy Pedroni <eddy@0xf7.com>2021-12-22 22:14:43 +0100
commit71593d438dff1a54986c94b469faa31c4581f6c7 (patch)
treed9209575ef368d015728937b47c5601ed3268bec /session_manager.py
parent5f7e75ae1e53d3833114880d20e899629d21e31a (diff)
Fixed additive loading issue
Diffstat (limited to 'session_manager.py')
-rw-r--r--session_manager.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/session_manager.py b/session_manager.py
index 52742c8..fd6b4ad 100644
--- a/session_manager.py
+++ b/session_manager.py
@@ -15,6 +15,9 @@ class SessionManager:
jsonStr = file.read()
session = json.loads(jsonStr)
+ self._playlist.clear()
+ self._abController.clear()
+
for entry in session:
songPath = entry["path"]
abLimits = entry["ab_limits"]