mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
dcc112637c
commit
5df56efc49
4
posts.py
4
posts.py
|
|
@ -2982,7 +2982,9 @@ def _remove_send_block(base_dir: str, nickname: str, domain: str,
|
||||||
if not os.path.isfile(send_block_filename):
|
if not os.path.isfile(send_block_filename):
|
||||||
return
|
return
|
||||||
|
|
||||||
if text_in_file(inbox_url, send_block_filename, False):
|
if not text_in_file(inbox_url, send_block_filename, False):
|
||||||
|
return
|
||||||
|
|
||||||
send_blocks_str = ''
|
send_blocks_str = ''
|
||||||
try:
|
try:
|
||||||
with open(send_block_filename, 'r',
|
with open(send_block_filename, 'r',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue