From 41c85f0d53ad19a213edd3760b237c1299f0f03e Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Tue, 13 Jul 2021 15:39:19 +0700 Subject: [PATCH] add some more string to dictionary --- to-rpz/host_rpz_argv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/to-rpz/host_rpz_argv.py b/to-rpz/host_rpz_argv.py index 7c924cc..7779155 100644 --- a/to-rpz/host_rpz_argv.py +++ b/to-rpz/host_rpz_argv.py @@ -6,7 +6,7 @@ from shutil import copyfile infile = sys.argv[1] outfile = sys.argv[2] -a = ['0.0.0.0 ','::1 ','127.0.0.1 ','0 ',':: '] +a = ['0.0.0.0 ','0.0.0.0','::1 ','127.0.0.1 ','0','::','::1','127.0.0.1','0','::'] lst = [] with open(infile, 'r') as f: