From 5d2fe81d712cfe34c2d043b5f66d2bf6f7ffe36e Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Thu, 18 Mar 2010 15:52:37 +0000 Subject: [PATCH] Fix for AppLocation changes --- openlp/core/utils/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/utils/__init__.py b/openlp/core/utils/__init__.py index 61c38af87..9cd539169 100644 --- a/openlp/core/utils/__init__.py +++ b/openlp/core/utils/__init__.py @@ -81,7 +81,8 @@ class AppLocation(object): elif sys.platform == u'darwin': plugin_path = os.path.join(app_path, u'plugins') else: - plugin_path = os.path.join(openlp.__file__, u'plugins') + plugin_path = os.path.join( + os.path.split(openlp.__file__)[0], u'plugins') return plugin_path