fix function update_config in run.py
Closed this issue · 3 comments
kmakeev commented
Must be:
def update_config(config, file):
_config = sth.load_config(file)
try:
for key in _config:
config[key] = _config[key]
except Exception as e:
print(e)
sys.exit()
return config
StepNeverStop commented
Hi,
Thx for your correction.I wasn't aware of the mistake because there was no error in running this sentence.
I've fix this, thank you very much.
next time maybe you can submit a PR. so that I can merge it.
kmakeev commented
Ok!
StepNeverStop commented
Feel free to reopen this issue if still have questions.