Update app.py

dependabot/pip/src/flask-2.3.2
Marten 5 years ago committed by GitHub
parent ed4f454fd7
commit 0fa635de7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,7 +94,7 @@ def get_rss_string():
filename = filename.split('.',1)[0] filename = filename.split('.',1)[0]
content_string += '<item>\n' content_string += '<item>\n'
content_string += '<title>' + title + '</title>\n' content_string += '<title>' + title + '</title>\n'
content_string += '<guid>' + '/index.html#' + filename + '</guid>\n' content_string += '<guid>' + website + '/index.html#' + filename + '</guid>\n'
content_string += '<pubDate>' + datetime.fromtimestamp(os.path.getctime(file)).strftime('%Y-%m-%d') + '</pubDate>\n' content_string += '<pubDate>' + datetime.fromtimestamp(os.path.getctime(file)).strftime('%Y-%m-%d') + '</pubDate>\n'
content_string += '<description>' content_string += '<description>'
for line in text: for line in text:

Loading…
Cancel
Save