summaryrefslogtreecommitdiffstats
path: root/scripts/ingenams
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-19 19:01:56 +0000
committerDavid Robillard <d@drobilla.net>2014-11-19 19:01:56 +0000
commite89a43a5f8f513610e9a1fd9aa3221c7a0e1ae2b (patch)
tree85fb5267aaf68c1e6d4a96e0777213909a2cfaff /scripts/ingenams
parent27e81cf8f9a46c8080cac554f8a72afc4ad7963f (diff)
downloadingen-e89a43a5f8f513610e9a1fd9aa3221c7a0e1ae2b.tar.gz
ingen-e89a43a5f8f513610e9a1fd9aa3221c7a0e1ae2b.tar.bz2
ingen-e89a43a5f8f513610e9a1fd9aa3221c7a0e1ae2b.zip
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
Diffstat (limited to 'scripts/ingenams')
-rwxr-xr-xscripts/ingenams3
1 files changed, 2 insertions, 1 deletions
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'