From fa77f8403a8b8aea42b261afa41a9abef8ca1a6b Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 24 Feb 2009 01:02:28 +0000 Subject: [PATCH] Fix get_resource --- deluge/plugins/example/example/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/plugins/example/example/common.py b/deluge/plugins/example/example/common.py index 01a6b7c44..d39163afe 100644 --- a/deluge/plugins/example/example/common.py +++ b/deluge/plugins/example/example/common.py @@ -26,4 +26,4 @@ import pkg_resources import os.path def get_resource(filename): - return pkg_resources.resource_filename("blocklist", os.path.join("data", filename)) + return pkg_resources.resource_filename("example", os.path.join("data", filename))