diff options
author | Walter Bender <walter@sugarlabs.org> | 2014-04-08 14:53:54 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2014-04-08 14:53:54 (GMT) |
commit | 2e0a525288bc38de613f6f0dabfbd951fba513af (patch) | |
tree | 8534b8eff353d707a08b7d219e971aecd80003f5 | |
parent | 9664cafa63e538cb94c0715239f7faf6d581ba1a (diff) |
put TurtleBlocks ahead of TurtleBots in modules path
-rw-r--r-- | TurtleArt/taexportpython.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/taexportpython.py b/TurtleArt/taexportpython.py index 60bf0c1..4b76fd4 100644 --- a/TurtleArt/taexportpython.py +++ b/TurtleArt/taexportpython.py @@ -41,7 +41,7 @@ _SETUP_CODE_START = """\ # -*- coding: utf-8 -*- _INSTALL_PATH = '/usr/share/sugar/activities/TurtleArt.activity' -_ALTERNATIVE_INSTALL_PATH = \ +_ALTERNATIVE_INSTALL_PATH = \\ '/usr/local/share/sugar/activities/TurtleArt.activity' import os, sys @@ -53,7 +53,7 @@ paths.append('/usr/local/share/sugar/activities/%s.activity') flag = False for path in paths: - for activity in ['TurtleBlocks', 'TurtleBots']: + for activity in ['TurtleBots', 'TurtleBlocks']: p = path % activity if os.path.exists(p): flag = True |