diff options
Diffstat (limited to 'lv2specgen')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index b2df07c..5b8b2de 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -672,15 +672,16 @@ def specgen(specloc, docdir, template, instances=False, mode="spec"): global ns_list m = RDF.Model() - p = RDF.Parser(name="guess") try: base = specloc[0:specloc.rfind('/')] # Parse manifest.ttl manifest_path = os.path.join(base, 'manifest.ttl') + p = RDF.Parser(name="guess") p.parse_into_model(m, manifest_path) # Parse ontology file + p = RDF.Parser(name="guess") p.parse_into_model(m, specloc) except IOError, e: |