This commit is contained in:
darkclip committed 2024-02-03 04:47:52 +08:00
1 parent d1d0cc7b80
commit a0c7472d50
1 file changed
+3 -3
+3 -3
View File
@@ -66,9 +66,9 @@ def main(args):
str,
sorted(
compactEntryList,
key=lambda entry: entry.host[1:]
if entry.host.startswith('[')
else entry.host,
key=lambda entry: (
entry.host[1:] if entry.host.startswith('[') else entry.host
),
),
)
)