diff --git a/src/twitch.py b/src/twitch.py index 78b75a4..8dac1a2 100644 --- a/src/twitch.py +++ b/src/twitch.py @@ -27,11 +27,11 @@ class TwitchClient: time.sleep(delta) r = requests.get(base, headers=header).json() self.last_q = time.time() + cherrypy.log('Request: OK') except: cherrypy.log('Request: FAIL') r = None finally: - cherrypy.log('Request: OK') self.lock.release() return r