diff options
author | David Robillard <d@drobilla.net> | 2011-11-05 00:31:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-05 00:31:38 +0000 |
commit | 0d472a64577876c99067d57ce7b31a569a9e4a85 (patch) | |
tree | 922fc3affd3b53b5a994380c4006d082dcd1077c /lv2specgen | |
parent | b439ac096d4b61bc5522ec29e5fb8260463e06a9 (diff) | |
download | lv2-0d472a64577876c99067d57ce7b31a569a9e4a85.tar.xz |
Fix specification prefix.
Diffstat (limited to 'lv2specgen')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index d81e500..44e2cc6 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -914,7 +914,7 @@ def specgen(specloc, indir, docdir, style_uri, doc_base, doclinks, instances=Fal prefixes_html = "<span>" for i in keys: uri = namespaces[i] - if spec_pre is None and str(uri) == str(spec_url + '#'): + if str(uri) == str(spec_url) + '#': spec_pre = i prefixes_html += '<a href="%s">%s</a> ' % (uri, i) prefixes_html += "</span>" |