From dfa88f7492d006d04c383ca9ede7894395e1deda Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@activitycentral.org>
Date: Thu, 14 Jul 2011 11:45:44 +0000
Subject: [PATCH sugar-toolkit] Insert activity root path in front of the rest
of sys.path #2965
---
src/sugar/activity/main.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sugar/activity/main.py b/src/sugar/activity/main.py
index d2a9302..2b8df53 100644
a
|
b
|
def main(): |
92 | 92 | sys.exit(1) |
93 | 93 | |
94 | 94 | bundle_path = os.environ['SUGAR_BUNDLE_PATH'] |
95 | | sys.path.append(bundle_path) |
| 95 | sys.path.insert(0, bundle_path) |
96 | 96 | |
97 | 97 | bundle = ActivityBundle(bundle_path) |
98 | 98 | |