mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
04e64c7ef7
commit
ced75a7b3d
3
inbox.py
3
inbox.py
|
@ -201,7 +201,8 @@ def cache_svg_images(session, base_dir: str, http_prefix: str,
|
|||
image_data = fp_svg.read()
|
||||
except OSError:
|
||||
print('EX: unable to read svg file data')
|
||||
if image_data:
|
||||
if not image_data:
|
||||
continue
|
||||
image_data = image_data.decode()
|
||||
cleaned_up = \
|
||||
remove_script(image_data, log_filename, actor, url)
|
||||
|
|
Loading…
Reference in New Issue