From 713c8742aa2652d70e307b1812f525877260077d Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Fri, 11 Jun 2021 14:28:30 +0300 Subject: [PATCH] 1 --- KOTIKOT_launcher.py | 1 - OfficialProjects/SuperTimer/SuperTimer.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) 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")