aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-05 00:31:38 +0000
committerDavid Robillard <d@drobilla.net>2011-11-05 00:31:38 +0000
commit0d472a64577876c99067d57ce7b31a569a9e4a85 (patch)
tree922fc3affd3b53b5a994380c4006d082dcd1077c /lv2specgen
parentb439ac096d4b61bc5522ec29e5fb8260463e06a9 (diff)
downloadlv2-0d472a64577876c99067d57ce7b31a569a9e4a85.tar.xz
Fix specification prefix.
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py2
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>"