diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2021-12-25 23:47:00 +0100 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2021-12-25 23:47:00 +0100 |
commit | 10aa8140b5e52cc0cf8cea794daf81fb0ffdcad3 (patch) | |
tree | 9bf5e9231ff703b90ed0dd6790588de95d14c2b9 /session_manager.py | |
parent | 71593d438dff1a54986c94b469faa31c4581f6c7 (diff) |
Renamed some functions, added known issue
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() |