Skip to content

Commit 1f3da6e

Browse files
committed
Updating Pomodoro Timer
1 parent 6b9bbfe commit 1f3da6e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pomodoro_timer/pomodoro_timer.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ def start_timer(options, cycle_limit=5):
7878
winsound.Beep(323, 250)
7979
winsound.Beep(583, 250)
8080
except:
81-
os.system('beep -f %s -l %s' % (323,250))
82-
os.system('beep -f %s -l %s' % (583,250))
81+
os.system('tput bel')
8382

8483
while temp_break:
8584
title_label.config(text="You should be taking a break now.")
@@ -92,8 +91,7 @@ def start_timer(options, cycle_limit=5):
9291
winsound.Beep(523, 250)
9392
winsound.Beep(783, 250)
9493
except:
95-
os.system('beep -f %s -l %s' % (323,250))
96-
os.system('beep -f %s -l %s' % (583,250))
94+
os.system('tput bel')
9795
cycles += 1
9896

9997
reset()

0 commit comments

Comments
 (0)