Make playing sound dependencies only used if wanted
This commit is contained in:
parent
bebbd96294
commit
1d0c87e2ab
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,6 @@ import time
|
|||
from datetime import datetime, timedelta
|
||||
from pathlib import Path
|
||||
from pytz import timezone
|
||||
from playsound import playsound
|
||||
|
||||
import pytz
|
||||
|
||||
|
@ -120,6 +119,7 @@ def main():
|
|||
print('Working on: ' + whatnext)
|
||||
countdown_to(end)
|
||||
if not QUIET:
|
||||
from playsound import playsound
|
||||
playsound('res/timesup.aac')
|
||||
whatdid = pomodoro_prompt_report(whatnext)
|
||||
record_task(whatnext, whatdid, start)
|
||||
|
|
Loading…
Reference in a new issue