diff options
Diffstat (limited to 'session_manager.py')
-rw-r--r-- | session_manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
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() |