aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
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>"