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