diff options
author | Simon Rettberg | 2019-02-04 15:08:00 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-04 15:08:00 +0100 |
commit | a6640db3fd5d8e3f7defde08f3854803a6299c63 (patch) | |
tree | 05fa174605ad4e462c1e1e640c402405ccefdfdc | |
parent | Sanitize file names (diff) | |
download | bwlp-monitoring-a6640db3fd5d8e3f7defde08f3854803a6299c63.tar.gz bwlp-monitoring-a6640db3fd5d8e3f7defde08f3854803a6299c63.tar.xz bwlp-monitoring-a6640db3fd5d8e3f7defde08f3854803a6299c63.zip |
Remove pointless copy
-rwxr-xr-x | main.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -260,9 +260,6 @@ for entry in reversed(logEntries[cut_amount:]): + entry.host +']</div></div><div class="log_item_part"><div class="content_item_part_title log_item_part_msg">' + entry.msg + '</div></div></div>') -# 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') |