Skip to content

Commit

Permalink
Update generate_clash_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxy27 authored Nov 8, 2024
1 parent 48b9c6c commit e1d95d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_clash_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# 遍历 rules 文件夹中的所有 .rule 文件并转换规则
for filename in os.listdir(input_directory):
if filename.endswith(".rule"):
if filename.endswith(".rules"):
with open(os.path.join(input_directory, filename), "r") as f:
for line in f:
line = line.strip()
Expand Down

0 comments on commit e1d95d8

Please sign in to comment.