Fix missing variable name
This commit is contained in:
parent
8347c578ff
commit
0843d180e0
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def generate_feed(db):
|
||||||
channel.find_all("atom:link")[-1]["rel"] = "alternate"
|
channel.find_all("atom:link")[-1]["rel"] = "alternate"
|
||||||
channel.find_all("atom:link")[-1]["type"] = "text/html"
|
channel.find_all("atom:link")[-1]["type"] = "text/html"
|
||||||
|
|
||||||
db.execute("SELECT * FROM post").fetchall()
|
posts = db.execute("SELECT * FROM post").fetchall()
|
||||||
posts.reverse()
|
posts.reverse()
|
||||||
|
|
||||||
for post in posts:
|
for post in posts:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue