Module: deluge
Branch: master
Commit: dfa8834db89bcd57e03df1b5a05b698f0c1c75d2

Author: Andrew Resch <[email protected]>
Date:   Mon Jun  6 14:57:38 2011 -0700

Fix starting deluge-web

---

 deluge/ui/web/server.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py
index 5c023de..072de51 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):

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to