From 0d472a64577876c99067d57ce7b31a569a9e4a85 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 5 Nov 2011 00:31:38 +0000 Subject: Fix specification prefix. --- lv2specgen/lv2specgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lv2specgen') 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 = "" 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 += '%s ' % (uri, i) prefixes_html += "" -- cgit v1.2.1