Commit c865e1be by Owo Sugiana

Bug fixed append_others()

1 parent 4388594a
0.1.7 2020-05-12
----------------
- Bug fixed append_others()
0.1.6 2020-04-09 0.1.6 2020-04-09
---------------- ----------------
- web-client.py tambah --conf untuk ISO8583 multi. - web-client.py tambah --conf untuk ISO8583 multi.
......
...@@ -80,11 +80,11 @@ def append_others(cfg, conf, section): ...@@ -80,11 +80,11 @@ def append_others(cfg, conf, section):
continue continue
cfg[key] = val cfg[key] = val
# Konfigurasi tambahan terkait modul # Konfigurasi tambahan terkait modul
section = 'module_' + cfg['module'] #section = 'module_' + cfg['module']
if not conf.has_section(section): #if not conf.has_section(section):
return # return
for key, val in conf.items(section): #for key, val in conf.items(section):
cfg[key] = val # cfg[key] = val
def read_conf(conf_file): def read_conf(conf_file):
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!