From 6ccbfc97151cc17fc675992daaf7cc846f97c3d8 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Fri, 24 Dec 2021 09:51:32 +0700 Subject: [PATCH] Domains: Convert '!' to ';' --- to-rpz/domains_rpz_argv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/to-rpz/domains_rpz_argv.py b/to-rpz/domains_rpz_argv.py index 1794a31..8744fd4 100644 --- a/to-rpz/domains_rpz_argv.py +++ b/to-rpz/domains_rpz_argv.py @@ -9,7 +9,7 @@ outfile = sys.argv[2] with open(infile) as f: file = f.read().split('\n') for i in range(len(file)): - file[i] = sub(r'#', ';', file[i]) + file[i] = sub(r'#|\!', ';', file[i]) #print(file) with open(infile, 'w') as f1: f1.writelines(["%s\n" % item for item in file])