From a76c328b0b22ffe61eaf390b7feafa83965038ba Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 24 Nov 2022 22:20:35 -0800 Subject: [PATCH] cleanup --- zapsaber.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zapsaber.py b/zapsaber.py index a95b8ed..6736398 100755 --- a/zapsaber.py +++ b/zapsaber.py @@ -85,7 +85,6 @@ class ZapSaber: logger.info('Stopping map...') self.playing = False self.map_failed = False - self.combo = 0 elif not self.playing and message['TimeElapsed'] != 0: logger.info('Starting map...') self.playing = True @@ -95,7 +94,8 @@ async def main(config): logger.info('Initializing...') # Set up the shocker. - shocker = PiShock(config['username'], config['apiKey'], config['code'], name='ZapSaber') + shocker = PiShock(config['username'], config['apiKey'], config['code'], + name='ZapSaber') shocker.beep() events = ZapSaber(config, shocker)