Skip to content
Snippets Groups Projects
Commit e04d30c9 authored by Daniel Agar's avatar Daniel Agar
Browse files

param markdown metadata handle float enums

parent 2eb684de
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ class MarkdownTablesOutput():
# Format codes and their descriptions for display.
if enum_codes:
enum_output+='<strong>Values:</strong><ul>'
enum_codes=sorted(enum_codes,key=int)
enum_codes=sorted(enum_codes,key=float)
for item in enum_codes:
enum_output+='\n<li><strong>%s:</strong> %s</li> \n' % (item, param.GetEnumValue(item))
enum_output+='</ul>\n'
......
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