Commit e0fd9ff6 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: handle software product with only one software type

parent f7a86c21
......@@ -11,6 +11,9 @@ software_product.newContent(
title=software_release,
url_string=software_release
)
if same_type(software_type_list, ""):
software_type_list = [software_type_list]
for software_type in software_type_list:
software_product.newContent(
portal_type="Software Product Type Variation",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment