summaryrefslogtreecommitdiffstats
path: root/swig/python
diff options
context:
space:
mode:
Diffstat (limited to 'swig/python')
-rwxr-xr-xswig/python/lv2_apply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/python/lv2_apply.py b/swig/python/lv2_apply.py
index 736311f..98d6f75 100755
--- a/swig/python/lv2_apply.py
+++ b/swig/python/lv2_apply.py
@@ -21,7 +21,7 @@ world = lilv.World()
world.load_all()
# Find plugin
-plugin = world.get_plugin(plugin_uri)
+plugin = world.get_all_plugins.get_by_uri(plugin_uri)
if not plugin:
print "Unknown plugin `%s'\n" % plugin_uri
sys.exit(1)