Skip to content

Commit

Permalink
style: add note
Browse files Browse the repository at this point in the history
  • Loading branch information
alex75 committed Oct 21, 2024
1 parent e7f95b4 commit fb2429d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cads_catalogue/layout_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def manage_image_section(
if isinstance(image_dict_list, dict):
image_dict_list = [image_dict_list]
for j, image_dict in enumerate(image_dict_list):
# TODO: better to not use relative paths, look only inside local folder
image_rel_path = image_dict.get("url")
if block.get("type") == "thumb-markdown" and image_rel_path:
if utils.is_url(image_rel_path):
Expand Down

0 comments on commit fb2429d

Please sign in to comment.