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

This broke Shutdown and Restart (buddy menu).

Signed-off-by: Sascha Silbe <[email protected]>
This commit is contained in:
Sascha Silbe
2011-02-05 16:28:24 +01:00
committed by Sascha Silbe
parent b445032cac
commit 924e2e62bf
+1 -1
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):