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:
parent
b445032cac
commit
924e2e62bf
@ -24,7 +24,7 @@ import os
|
|||||||
|
|
||||||
|
|
||||||
def is_emulator():
|
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):
|
def get_profile_path(path=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user