From a6640db3fd5d8e3f7defde08f3854803a6299c63 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 4 Feb 2019 15:08:00 +0100 Subject: Remove pointless copy --- main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.py b/main.py index 489c1cc..61c5159 100755 --- a/main.py +++ b/main.py @@ -260,9 +260,6 @@ for entry in reversed(logEntries[cut_amount:]): + entry.host +']
' + entry.msg + '
') -# Copy the .html file and replace the %CONTENT% to generate the final html file. -shutil.copyfile('template.html', 'status.html') - # Replace the %CONTENT% in the template with the actual html code. html = open('template.html') html2 = open('status.html', 'w') -- cgit v1.2.3-55-g7522