1
0
mirror of synced 2026-04-30 23:08:51 +08:00
This commit is contained in:
xueweihan
2022-11-22 16:57:37 +08:00
parent 0066162d46
commit 3e559fff25

View File

@@ -163,8 +163,8 @@ def main(verbose=False) -> None:
hosts_content = HOSTS_TEMPLATE.format(content=content, hosts_content = HOSTS_TEMPLATE.format(content=content,
update_time=update_time) update_time=update_time)
has_change = write_file(hosts_content, update_time) has_change = write_file(hosts_content, update_time)
if has_change: # if has_change:
write_json_file(content_list) # write_json_file(content_list)
if verbose: if verbose:
print(hosts_content) print(hosts_content)
print('End script.') print('End script.')