Skip to content

Commit 617b849

Browse files
author
kkohli
committed
fixing lint issues
1 parent 786c82c commit 617b849

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
import os
22
import playsound
3-
import time
43
from time import sleep
5-
import sys
64
import multiprocessing
75

86

97
def remind():
10-
startTime = time.time()
11-
while True:
12-
sleep(20*60)
13-
os.popen('osascript -e "set Volume 6"')
14-
p = multiprocessing.Process(target=playsound.playsound, args=("danger.mp3",))
15-
p.start()
16-
inp = input('Dismiss? y|n')
8+
while True:
9+
sleep(20*60)
10+
os.popen('osascript -e "set Volume 6"')
11+
p = multiprocessing.Process(
12+
target=playsound.playsound, args=("danger.mp3",))
13+
p.start()
14+
inp = input('Dismiss? y|n')
1715

18-
if inp == 'y':
19-
print("yes")
20-
p.terminate()
21-
continue
16+
if inp == 'y':
17+
print("yes")
18+
p.terminate()
19+
continue
2220

2321

2422
if __name__ == "__main__":
25-
remind()
23+
remind()

0 commit comments

Comments
 (0)