Skip to content
Snippets Groups Projects
Commit b90238cb authored by Nick Draper's avatar Nick Draper
Browse files

Correct default doc string for empty property managers to dict()

re #22807
parent 66ed1d80
No related branches found
No related tags found
No related merge requests found
......@@ -207,6 +207,10 @@ class PropertiesDirective(AlgorithmBaseDirective):
else:
defaultstr = "False"
if str(prop.type) == "Dictionary":
if defaultstr == r"null\\n":
defaultstr = "dict()"
return defaultstr
def _create_property_description_string(self, prop):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment