Remove redundant debug statements

This commit is contained in:
Lukáš Kucharczyk 2022-05-04 14:44:10 +02:00
parent 71054bc821
commit d5e7767841
1 changed files with 0 additions and 4 deletions

View File

@ -65,10 +65,6 @@ def parse_text_command(text):
def parse_text(line): def parse_text(line):
if results := re.findall(search_pattern, line, re.IGNORECASE): if results := re.findall(search_pattern, line, re.IGNORECASE):
logging.debug(f"Found matches: {results}") logging.debug(f"Found matches: {results}")
if len(results) != 1:
logging.debug("More than 1 match found.")
else:
logging.debug("1 match found.")
parentheses_items: list = [] parentheses_items: list = []
# FIXME: add links to other mentioned sections, for now just link the first one # FIXME: add links to other mentioned sections, for now just link the first one
section_id = format_section_id(results[0]) section_id = format_section_id(results[0])