Less indentation

merge-requests/30/head
Bob Mottram 2024-07-18 20:39:10 +01:00
parent e95f6b8261
commit bfa2c4c63b
1 changed files with 37 additions and 36 deletions

View File

@ -68,7 +68,8 @@ def _html_front_screen_posts(recent_posts_cache: {}, max_recent_posts: int,
if len(outbox_feed['orderedItems']) == 0:
break
for item in outbox_feed['orderedItems']:
if item['type'] == 'Create':
if item['type'] != 'Create':
continue
timezone = get_account_timezone(base_dir, nickname, domain)
minimize_all_images = False
if nickname in min_images_for_accounts: