Commits

Luke Plant  committed 3c70a84

Fixed bug with section ID being used in error message instead of friendly name.

  • Participants
  • Parent commits dba87bf

Comments (0)

Files changed (1)

File semanticeditor/utils/presentation.py

                         raise BadStructure('Section "%(sect)s" has command "%(command)s" '
                                            'but there needs to be a "%(lowercommand)s" '
                                            'command first.' %
-                                           dict(sect=si.sect_id,
+                                           dict(sect=si.name,
                                                 command=command_name,
                                                 lowercommand=commands[command_level-1])
                                            )