mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
4dafad931f
commit
3814caeb11
|
@ -62,7 +62,8 @@ def _update_feeds_outbox_index(base_dir: str, domain: str,
|
||||||
except OSError as ex:
|
except OSError as ex:
|
||||||
print('EX: Failed to write entry to feeds posts index ' +
|
print('EX: Failed to write entry to feeds posts index ' +
|
||||||
index_filename + ' ' + str(ex))
|
index_filename + ' ' + str(ex))
|
||||||
else:
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(index_filename, 'w+', encoding='utf-8') as fp_feeds:
|
with open(index_filename, 'w+', encoding='utf-8') as fp_feeds:
|
||||||
fp_feeds.write(post_id + '\n')
|
fp_feeds.write(post_id + '\n')
|
||||||
|
|
Loading…
Reference in New Issue