Skip to content

Commit

Permalink
Part 1/? for #926
Browse files Browse the repository at this point in the history
  • Loading branch information
DandelionSprout authored Oct 12, 2023
1 parent 805cd0f commit 9b3b54b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AdGuard Home Compilation List/AGHtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,12 @@ def prepare_agh(lines) -> str:
line
)

line = re.sub(
r"^/([a-z0-9]{1,8}\.)$",
r"://\1",
line
)

if is_supported_agh(line) and not line == '':
text += line + '\n'

Expand Down

0 comments on commit 9b3b54b

Please sign in to comment.