aboutsummaryrefslogtreecommitdiffstats
path: root/src/epy_reader/reader.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/epy_reader/reader.py')
-rw-r--r--src/epy_reader/reader.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/epy_reader/reader.py b/src/epy_reader/reader.py
index cd56ac1..60feed6 100644
--- a/src/epy_reader/reader.py
+++ b/src/epy_reader/reader.py
@@ -452,8 +452,7 @@ class Reader:
if not self.search_data:
candidate_text = self.input_prompt(" Regex:")
- # if isinstance(candidate_text, str) and candidate_text != "":
- if isinstance(candidate_text, str) and candidate_text:
+ if isinstance(candidate_text, str):
self.search_data = SearchData(value=candidate_text)
else:
assert isinstance(candidate_text, NoUpdate) or isinstance(candidate_text, Key)