Commit d590305a authored by Devaev Maxim's avatar Devaev Maxim

Syntax error fix

parent c32af02b
......@@ -58,7 +58,7 @@ class DateTime(service.FunctionObject) :
###
clock_config_file_path_sample = config_value(SERVICE_NAME, "clock_config_file_path_sample")
clock_config_file_path_sample = config.value(SERVICE_NAME, "clock_config_file_path_sample")
if not os.access(clock_config_file_path, os.F_OK) :
if access(clock_config_file_path_sample, os.F_OK) :
shutil.copy2(clock_config_file_path_sample, clock_config_file_path)
......
......@@ -140,7 +140,7 @@ class SimpleDnsmasqConfig(service.FunctionObject) :
###
dnsmasq_config_file_path_sample = config_value(SERVICE_NAME, "dnsmasq_config_file_path_sample")
dnsmasq_config_file_path_sample = config.value(SERVICE_NAME, "dnsmasq_config_file_path_sample")
if not os.access(dnsmasq_config_file_path, os.F_OK) :
if access(dnsmasq_config_file_path_sample, os.F_OK) :
shutil.copy2(dnsmasq_config_file_path_sample, dnsmasq_config_file_path)
......
......@@ -50,7 +50,7 @@ class NtpConfig(service.FunctionObject) :
###
ntp_config_file_path_sample = config_value(SERVICE_NAME, "ntp_config_file_path_sample")
ntp_config_file_path_sample = config.value(SERVICE_NAME, "ntp_config_file_path_sample")
if not os.access(ntp_config_file_path, os.F_OK) :
if access(ntp_config_file_path_sample, os.F_OK) :
shutil.copy2(ntp_config_file_path_sample, ntp_config_file_path)
......
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