diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index 5c023de07..072de518b 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -101,7 +101,7 @@ def rpath(*paths): """Convert a relative path into an absolute path relative to the location of this script. """ - return common.resource_filename(__name__, os.path.join(*paths)) + return common.resource_filename("deluge.ui.web", os.path.join(*paths)) class GetText(resource.Resource): def render(self, request):