Less indentation

main
Bob Mottram 2024-07-15 20:48:44 +01:00
parent 4dafad931f
commit 3814caeb11
1 changed files with 8 additions and 7 deletions

View File

@ -62,7 +62,8 @@ def _update_feeds_outbox_index(base_dir: str, domain: str,
except OSError as ex:
print('EX: Failed to write entry to feeds posts index ' +
index_filename + ' ' + str(ex))
else:
return
try:
with open(index_filename, 'w+', encoding='utf-8') as fp_feeds:
fp_feeds.write(post_id + '\n')