diff --git a/KOTIKOT_launcher.py b/KOTIKOT_launcher.py index d2bf9b3..3a5f241 100644 --- a/KOTIKOT_launcher.py +++ b/KOTIKOT_launcher.py @@ -150,7 +150,6 @@ def launchSuperTimer(): SuperTimer = SuperTimerDir + "SuperTimer.py" urllib.request.urlretrieve(SuperTimerUrl, SuperTimer) - os.system('cd' + SuperTimerDir) os.system("python " + SuperTimer) diff --git a/OfficialProjects/SuperTimer/SuperTimer.py b/OfficialProjects/SuperTimer/SuperTimer.py index a5ac23a..0bb2599 100644 --- a/OfficialProjects/SuperTimer/SuperTimer.py +++ b/OfficialProjects/SuperTimer/SuperTimer.py @@ -29,5 +29,6 @@ while timeInSuperSeconds > 0: time.sleep(superSecond) print("Press Ctrl + C to stop alarm") -while True: +for i in range(7): playsound("alarm.mp3") +os.remove("alarm.mp3")