From 2fa8060b7fd790b3260e65d225a4eca5080683a7 Mon Sep 17 00:00:00 2001 From: Oli Date: Thu, 10 Apr 2008 03:30:59 +0000 Subject: On the way to respect security policy --- (limited to 'common/Util/Instruments.py') diff --git a/common/Util/Instruments.py b/common/Util/Instruments.py index 12e755a..ef22bce 100644 --- a/common/Util/Instruments.py +++ b/common/Util/Instruments.py @@ -1,6 +1,7 @@ import os import common.Config as Config import common.Util.InstrumentDB as InstrumentDB +from sugar.activity.activity import get_bundle_name LOW = Config.LOW MID = Config.MID @@ -182,6 +183,8 @@ try: except: pass +#jamId = os.path.split(os.path.realpath("/home/olpc/isolation/1/bundle_id_to_gid/org.laptop.TamTamJam"))[1] + DRUM1KIT = { 24 : "drum1kick", 26 : "drum1floortom", -- cgit v0.9.1