aboutsummaryrefslogtreecommitdiffstats
path: root/session_manager.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2021-12-21 18:39:49 +0100
committerEddy Pedroni <eddy@0xf7.com>2021-12-21 18:39:49 +0100
commit9ee7ee992d468b4f354ac16c34747e0c31d7b656 (patch)
tree8c9f46bb8478fd9a6a3f9b194921fb9b1e0a3592 /session_manager.py
parent6eb42e6d4468ad161281125c77a41063f93380e1 (diff)
Minor fixes to tests
Diffstat (limited to 'session_manager.py')
-rw-r--r--session_manager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/session_manager.py b/session_manager.py
index 057d952..52742c8 100644
--- a/session_manager.py
+++ b/session_manager.py
@@ -26,13 +26,12 @@ class SessionManager:
def saveSession(self, file):
songs = self._playlist.getSongs()
- abLimits = self._abController.getLimits()
session = list()
for s in songs:
entry = {
"path": s,
- "ab_limits" : abLimits.get(s)
+ "ab_limits" : self._abController.getLimits(s)
}
session.append(entry)