Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: render empty caption if nothing defined in report flag
  • Loading branch information
johanneskoester committed Mar 15, 2022
1 parent 37f8c11 commit 013a6e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snakemake/report/__init__.py
Expand Up @@ -492,6 +492,8 @@ def render(self, env, rst_links, categories, files):
),
e,
)
else:
self.caption = ""

@property
def is_img(self):
Expand Down

0 comments on commit 013a6e8

Please sign in to comment.