Commit b3585d89 authored by Devaev Maxim's avatar Devaev Maxim

Closing editor in fmod_date_time

parent 21ca55c0
......@@ -70,6 +70,7 @@ class DateTime(service.FunctionObject) :
time_zone_editor = tools.editors.PlainEditor(spaces_list=[])
time_zone_editor.open(config.value(SERVICE_NAME, "clock_config_file_path"))
zones_list = time_zone_editor.value("ZONE")
time_zone_editor.close()
if len(zones_list) > 0 :
return os.path.normpath(zones_list[-1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment