Enable sugar emulator only if SUGAR_EMULATOR=yes is set
This commit is contained in:
parent
7d6adc55a3
commit
da80c91081
@ -26,7 +26,8 @@ registry.scan_directory(env.get_activities_dir())
|
|||||||
|
|
||||||
from session.Emulator import Emulator
|
from session.Emulator import Emulator
|
||||||
|
|
||||||
# FIXE Don't run the emulator on the OLPC
|
if os.environ.has_key('SUGAR_EMULATOR') and \
|
||||||
|
os.environ['SUGAR_EMULATOR'] == 'yes':
|
||||||
emulator = Emulator()
|
emulator = Emulator()
|
||||||
emulator.start()
|
emulator.start()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user