diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-14 09:16:15 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-14 09:16:15 (GMT) |
commit | 869cd108a3cd7c64a46f70f4042966e7ddc971d9 (patch) | |
tree | f9c0474adc7a978d9470befeb7baae629f8e321b /bin | |
parent | 68dee3c769372c8dd58415ed06c1f3672524a5e2 (diff) |
#196 Fix setting the timezone in debian
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sugar-session | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sugar-session b/bin/sugar-session index fc10eb8..6a10a43 100644 --- a/bin/sugar-session +++ b/bin/sugar-session @@ -133,7 +133,7 @@ def main(): client = gconf.client_get_default() timezone = client.get_string('/desktop/sugar/date/timezone') - if timezone is not '': + if timezone is not None and timezone: os.environ['TZ'] = timezone start_ui_service() |