forked from rDrama/rDrama
fix 500 error
parent
fb66355d2a
commit
2b3b25c188
|
@ -34,7 +34,7 @@ def feeds_user(sort='hot', t='all'):
|
||||||
with tag("id"):
|
with tag("id"):
|
||||||
text(SITE_FULL + request.full_path)
|
text(SITE_FULL + request.full_path)
|
||||||
with tag("updated"):
|
with tag("updated"):
|
||||||
text(datetime.now().isoformat()+"Z")
|
text(datetime.datetime.now().isoformat()+"Z")
|
||||||
doc.stag("link", rel="self", type="application/atom+xml", href=SITE_FULL + request.full_path)
|
doc.stag("link", rel="self", type="application/atom+xml", href=SITE_FULL + request.full_path)
|
||||||
doc.stag("link", rel="alternate", type="text/html", href=SITE_FULL)
|
doc.stag("link", rel="alternate", type="text/html", href=SITE_FULL)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue