mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-03-01 21:09:37 +05:00
Update 2_generate_includes.py
This commit is contained in:
parent
a94abd63d1
commit
dd5a2470c3
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ def write_list_of_strings_to_file(filename, lines):
|
||||||
with open(filename, 'w', encoding='utf-8') as file:
|
with open(filename, 'w', encoding='utf-8') as file:
|
||||||
for line in lines:
|
for line in lines:
|
||||||
file.write(line + '\n')
|
file.write(line + '\n')
|
||||||
print(f"OK: Generated {filename}")
|
if len(lines) > 0:
|
||||||
|
print(f"OK: Generated {filename}")
|
||||||
|
|
||||||
def generate_include_lines(regex_list):
|
def generate_include_lines(regex_list):
|
||||||
include_rules = []
|
include_rules = []
|
||||||
|
|
Loading…
Reference in a new issue