diff --git a/files/routes/feeds.py b/files/routes/feeds.py index 2123302ba..14c17c7d0 100644 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -48,11 +48,11 @@ def feeds_user(sort='hot', t='all'): with tag("id"): text(post.permalink) - if (post.edited_utc): - with tag("updated"): + with tag("updated"): + if (post.edited_utc): text(datetime.utcfromtimestamp(post.edited_utc).isoformat()+"Z") - else: - text(datetime.utcfromtimestamp(post.created_utc).isoformat()+"Z") + else: + text(datetime.utcfromtimestamp(post.created_utc).isoformat()+"Z") with tag("published"): text(datetime.utcfromtimestamp(post.created_utc).isoformat()+"Z")