From 53607648cb47029bb93d4821a0d8bc78a8c316d6 Mon Sep 17 00:00:00 2001 From: Kale Date: Tue, 17 Aug 2021 21:57:39 -0700 Subject: [PATCH] Update 'maker_rpz.py' --- maker_rpz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maker_rpz.py b/maker_rpz.py index b6c97e0..0e6e29a 100644 --- a/maker_rpz.py +++ b/maker_rpz.py @@ -23,10 +23,10 @@ def RPZbuilding(excluded,incoming,output): f.write('; Rule Counter : ' + str(ankstanop) +' Rules\n') f.write('; Format : RPZ\n') f.write('; Licenses : MIT\n') - f.write('; Compiled Date : ' + str(date) +'\n\n') + f.write('; Compiled Date : ' + str(date) +'\n;\n') f.write('$TTL 30\n') f.write('@ IN SOA localhost. root.localhost. (1 6h 1h 1w 2h)\n') - f.write(' NS localhost.\n\n') + f.write(' NS localhost.\n;\n') for line in lines: if line.strip() and not line in exclude and not line.startswith(';'): f.write('\n'.join([line + ' CNAME .\n']))