mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
b208ec623d
commit
a7f160064d
3
utils.py
3
utils.py
|
@ -2042,7 +2042,8 @@ def delete_cached_html(base_dir: str, nickname: str, domain: str,
|
|||
"""
|
||||
cached_post_filename = \
|
||||
get_cached_post_filename(base_dir, nickname, domain, post_json_object)
|
||||
if cached_post_filename:
|
||||
if not cached_post_filename:
|
||||
return
|
||||
if os.path.isfile(cached_post_filename):
|
||||
try:
|
||||
os.remove(cached_post_filename)
|
||||
|
|
Loading…
Reference in New Issue