From ba4882011f571352508067e8c1c42cfe8035e1c6 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Sun, 11 Jun 2017 20:05:33 -0400 Subject: [PATCH] order matters here --- soundLib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soundLib.py b/soundLib.py index dae1fea..d2531ce 100644 --- a/soundLib.py +++ b/soundLib.py @@ -108,13 +108,13 @@ class SoundLib: } self._ttsSounds = TTSCache(psutil.virtual_memory().total * 0.001) + self._lock = RLock() self.volume = 100 self._applyVolumesToSounds(self.volume) self._ttsQueue = queue.Queue() self._stopper = Event() - self._lock = RLock() def start(self): self._startMonitor()