workflow: add trailing slash to status URLs

This commit is contained in:
Frédéric Péters 2012-08-16 11:35:24 +02:00
parent 2fc7b0b6dd
commit c3a068ea9b
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ def graphviz(workflow, url_prefix='', select=None, svg=True,
print >>out, '[label="%s"' % status.name,
if select == str(i):
print >>out, ',color=salmon'
print >>out, ' URL="%sstatus/%s"];' % (url_prefix, i)
print >>out, ' URL="%sstatus/%s/"];' % (url_prefix, i)
for status in workflow.possible_status:
i = status.id