aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/export.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/export.py b/source/export.py
index 968f4959..75c2f0eb 100644
--- a/source/export.py
+++ b/source/export.py
@@ -36,6 +36,7 @@ __license__ = "GPLv3"
#
import os
+import time
import conf
import utils
@@ -194,7 +195,8 @@ def export_html(mongo_db):
with open(feed_index, "w") as f:
f.write(posts)
- index += "\n</ul>\n<br />\n"
+ index += "</ul>\n"
+ index += "<p>" + time.strftime("Generated on %d %b %Y at %H:%M.") + "</p>\n"
index += HTML_FOOTER
with open(conf.path + "/var/export/webzine/" + "index.html", "w") as f:
f.write(index)
bgstack15