Commit 675cdf27 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: stop setting random software type value by default

parent 941c3dd7
......@@ -29,7 +29,7 @@ if person is None:
raise Unauthorized("You cannot request without been logged in as a user.")
if software_type in [None, ""]:
software_type = "RootSoftwareInstance"
raise ValueError("Software Type value was not propagated")
if text_content in ["", None]:
text_content = """<?xml version='1.0' encoding='utf-8' ?>
......
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