summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2021-05-19 17:02:08 +0300
committerYuval Adam <_@yuv.al>2021-05-19 17:02:08 +0300
commit59c3d887943e2ef7bfbd5278ac5a33e1b1f51a70 (patch)
tree13eb051275d45dc4a2f6d9fe1a0d75a4e65b8618
parent6e1346d4823fe4a4d63be67f740a065fe9eab873 (diff)
Highlight default should be None
-rw-r--r--alarmpy/alarmpy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/alarmpy/alarmpy.py b/alarmpy/alarmpy.py
index 6a24d03..c15619b 100644
--- a/alarmpy/alarmpy.py
+++ b/alarmpy/alarmpy.py
@@ -28,7 +28,7 @@ class Alarm:
def __init__(
self,
language="he",
- highlight="",
+ highlight=None,
reverse=False,
polling_delay=1,
routine_delay=60 * 5,
@@ -244,7 +244,6 @@ class Alarm:
)
@click.option(
"--highlight",
- default="",
help="String to search for and highlight in case of alarm",
)
@click.option(