bug fix
This commit is contained in:
parent
25ed547474
commit
6e2ee941ac
|
@ -83,9 +83,10 @@ class ETL (Process):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print (e)
|
print (e)
|
||||||
if __name__ == '__main__' :
|
if __name__ == '__main__' :
|
||||||
_config = json.loads(open (SYS_ARGS['config']).read())
|
_info = json.loads(open (SYS_ARGS['config']).read())
|
||||||
_config['jobs'] = 10 #if 'jobs' not in SYS_ARGS else SYS_ARGS['jobs']
|
|
||||||
|
|
||||||
for _config in _info :
|
for _config in _info :
|
||||||
|
_config['jobs'] = 10 if 'jobs' not in SYS_ARGS else SYS_ARGS['jobs']
|
||||||
etl = ETL (**_config)
|
etl = ETL (**_config)
|
||||||
etl.start()
|
etl.start()
|
Loading…
Reference in New Issue