From 869cd108a3cd7c64a46f70f4042966e7ddc971d9 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 14 Jan 2009 09:16:15 +0000 Subject: #196 Fix setting the timezone in debian --- 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() -- cgit v0.9.1