Catch exception when reload timezone as it is done in background
This commit is contained in:
1 parent
73c75230e2
commit
e5194847b3
1 file changed
+4
-1
+4
-1
@@ -130,7 +130,10 @@ def context_reload():
|
||||
else:
|
||||
gtk.widget_set_default_direction(gtk.TEXT_DIR_LTR)
|
||||
if i == 'timezone':
|
||||
TIMEZONE = execute('common', 'timezone_get')
|
||||
try:
|
||||
TIMEZONE = execute('common', 'timezone_get')
|
||||
except:
|
||||
pass
|
||||
|
||||
def execute(obj, method, *args):
|
||||
global _SOCK, _DATABASE, _USER, _SESSION
|
||||
|
||||
Reference in new issue
Block a user