From 10aa8140b5e52cc0cf8cea794daf81fb0ffdcad3 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sat, 25 Dec 2021 23:47:00 +0100 Subject: Renamed some functions, added known issue --- session_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'session_manager.py') diff --git a/session_manager.py b/session_manager.py index fd6b4ad..640188d 100644 --- a/session_manager.py +++ b/session_manager.py @@ -8,8 +8,8 @@ class SessionManager: def addSong(self, path): self._playlist.addSong(path) - def addLimits(self, aLimit, bLimit): - self._abController.addLimits(aLimit, bLimit) + def storeLimits(self, aLimit, bLimit): + self._abController.storeLimits(aLimit, bLimit) def loadSession(self, file): jsonStr = file.read() @@ -25,7 +25,7 @@ class SessionManager: if abLimits is not None: for l in abLimits: - self._abController.addLimits(l[0], l[1], songPath) + self._abController.storeLimits(l[0], l[1], songPath) def saveSession(self, file): songs = self._playlist.getSongs() -- cgit v1.2.3