From 521af766e5faf10b8e7fc2936c6a3c0f039b0009 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 13 Mar 2018 19:39:49 +0100 Subject: [PATCH] Run it with Python, because Python --- bin/logfileinfo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/logfileinfo b/bin/logfileinfo index a54c308..d39b2af 100755 --- a/bin/logfileinfo +++ b/bin/logfileinfo @@ -1,10 +1,11 @@ +#!/usr/bin/env python3 from urllib.parse import urlparse domains = {} privacy_domains = {} #with open('consent_20180227_1055.log', encoding='latin1') as pf: -with open('20180313_1532.log') as pf: +with open('logfile.log') as pf: logdata = pf.readlines() for line in logdata: