Skip to content

Commit

Permalink
Fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 7, 2024
1 parent b1443e5 commit a47092b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setHosts_Classic.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,9 +953,9 @@ def write_to_hosts_file(self, new_entries: List[str]):

# 非标记块内容保留
if (
not skip and
(line.startswith("#") or not line) and
not any(tag in line for tag in skip_tags)
not skip
and (line.startswith("#") or not line)
and not any(tag in line for tag in skip_tags)
):
new_content.append(line)
continue
Expand Down

0 comments on commit a47092b

Please sign in to comment.