From c2dbb38afeb21e0d26cb4a20028fe8f4f589db73 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 20 Apr 2023 18:08:02 +0200 Subject: [PATCH] beepy import made optional --- src/stopwatch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/stopwatch.py b/src/stopwatch.py index 0a5ef40..b1c67c1 100755 --- a/src/stopwatch.py +++ b/src/stopwatch.py @@ -1,5 +1,8 @@ #!/bin/env python3 -import beepy # pip install beepy +try: + import beepy # pip install beepy +except: + beepy = None from multiprocessing import Process import argparse import time