1
This commit is contained in:
@@ -150,7 +150,6 @@ def launchSuperTimer():
|
|||||||
SuperTimer = SuperTimerDir + "SuperTimer.py"
|
SuperTimer = SuperTimerDir + "SuperTimer.py"
|
||||||
urllib.request.urlretrieve(SuperTimerUrl, SuperTimer)
|
urllib.request.urlretrieve(SuperTimerUrl, SuperTimer)
|
||||||
|
|
||||||
os.system('cd' + SuperTimerDir)
|
|
||||||
os.system("python " + SuperTimer)
|
os.system("python " + SuperTimer)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -29,5 +29,6 @@ while timeInSuperSeconds > 0:
|
|||||||
time.sleep(superSecond)
|
time.sleep(superSecond)
|
||||||
|
|
||||||
print("Press Ctrl + C to stop alarm")
|
print("Press Ctrl + C to stop alarm")
|
||||||
while True:
|
for i in range(7):
|
||||||
playsound("alarm.mp3")
|
playsound("alarm.mp3")
|
||||||
|
os.remove("alarm.mp3")
|
||||||
|
|||||||
Reference in New Issue
Block a user