Skip to content

Commit

Permalink
issue-bot: Allow issues for temporarily disabled devices
Browse files Browse the repository at this point in the history
  • Loading branch information
timschumi committed Mar 26, 2024
1 parent 1e87a7f commit 383ed92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/app.py
Expand Up @@ -218,9 +218,9 @@ def load_valid_options():
new_options = []
new_devices = []
for line in r.text.splitlines():
if line is None or line == "" or line.startswith("#"):
if line is None or line == "" or line.startswith("# "):
continue
result = re.match(r"^(\w*?) \w*? ([\w\-.]*) \w*", line)
result = re.match(r"^#?(\w*?) \w*? ([\w\-.]*) \w*", line)
if result:
new_devices.append(result.group(1))
branch_result = re.match(
Expand Down

0 comments on commit 383ed92

Please sign in to comment.