From e89a43a5f8f513610e9a1fd9aa3221c7a0e1ae2b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 19 Nov 2014 19:01:56 +0000 Subject: Make ingenams work with Python3 and other versions of rdflib. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5490 a436a847-0d15-0410-975c-d299462d15a1 --- scripts/ingenams | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/ingenams') diff --git a/scripts/ingenams b/scripts/ingenams index 090db76b..27990a2c 100755 --- a/scripts/ingenams +++ b/scripts/ingenams @@ -16,6 +16,7 @@ import ingen import rdflib +import rdflib.namespace import sys ams_prefix = 'http://github.com/blablack/ams-lv2/' @@ -201,7 +202,7 @@ def scala_module(world, mod_id, scala_name): def standard_module(world, mod_id, x, y, name, arg): if name == 'vca': - if arg > 0: + if int(arg) > 0: name += 'exp' else: name += 'lin' -- cgit v1.2.1