diff options
-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') |