Skip to content

Commit

Permalink
custom_content: default to empty string in info field
Browse files Browse the repository at this point in the history
  • Loading branch information
phue committed Jul 1, 2022
1 parent 18ff525 commit a38ffc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiqc/modules/custom_content/custom_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def update_init(self, c_id, mod):
"""

if self.info is None or self.info == "":
self.info = mod["config"].get("parent_description")
self.info = mod["config"].get("parent_description", "")
if self.extra is None or self.info == "":
self.extra = mod["config"].get("extra", None)
# This needs overwriting again as it has already run on init
Expand Down

0 comments on commit a38ffc6

Please sign in to comment.