Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Eirea <geirea@gmail.com>2010-06-02 12:15:45 (GMT)
committer Gabriel Eirea <geirea@gmail.com>2010-06-02 12:15:45 (GMT)
commit23d7c8a19a3fadc8b6488b5e9b6cd9f5ec5e6e45 (patch)
tree6d9e953da1f625be6cb71c67f40b35fc8d9a7490
parentfbd711525866c841fe79bc917fd08e8c82fe5b84 (diff)
Add examples directory to the pathHEADmaster
-rw-r--r--pippy_app.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pippy_app.py b/pippy_app.py
index 7a9ea6f..3aaf507 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -333,7 +333,10 @@ class PippyActivity(ViewSourceActivity):
(command="/bin/sh",
argv=["/bin/sh", "-c",
"python %s; sleep 1" % pippy_app_name],
- envv=["PYTHONPATH=%s/library:%s" % (get_bundle_path(), os.getenv("PYTHONPATH", ""))],
+ envv=["PYTHONPATH=%s:%s:%s" %
+ (os.path.join(get_bundle_path(),'library'),
+ os.path.join(os.environ['SUGAR_ACTIVITY_ROOT'],'data'),
+ os.getenv("PYTHONPATH", ""))],
directory=get_bundle_path())
def stopbutton_cb(self, button):