fix sugar-emulator detection logic broken by 814ab2d (has_key() cleanup)

This broke Shutdown and Restart (buddy menu).

Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
This commit is contained in:
Sascha Silbe 2011-01-21 21:01:46 +00:00 committed by Sascha Silbe
parent b445032cac
commit 924e2e62bf

View File

@ -24,7 +24,7 @@ import os
def is_emulator():
return os.environ.get('SUGAR_EMULATOR', 'yes') == 'yes'
return os.environ.get('SUGAR_EMULATOR', 'no') == 'yes'
def get_profile_path(path=None):