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 --- abcontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'abcontroller.py') diff --git a/abcontroller.py b/abcontroller.py index 2e08936..80f6a4d 100644 --- a/abcontroller.py +++ b/abcontroller.py @@ -19,7 +19,7 @@ class ABController: self._songLimits = self._limits[path] self._currentLimits = None - def addLimits(self, aLimit, bLimit, song=None): + def storeLimits(self, aLimit, bLimit, song=None): if song is not None: self._ensureSongExists(song) songLimits = self._limits[song] @@ -32,7 +32,7 @@ class ABController: ab = _AB(aLimit, bLimit) songLimits.append(ab) - def setCurrentLimits(self, index): + def loadLimits(self, index): if not self._songLimits: return -- cgit v1.2.3