From 6e2ee941acf5ea1a51b4b109aadb9dc3449dda0c Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Thu, 8 Jul 2021 17:41:43 -0500 Subject: [PATCH] bug fix --- bin/transport | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/transport b/bin/transport index e0baf2f..b07483e 100644 --- a/bin/transport +++ b/bin/transport @@ -83,9 +83,10 @@ class ETL (Process): except Exception as e: print (e) if __name__ == '__main__' : - _config = json.loads(open (SYS_ARGS['config']).read()) - _config['jobs'] = 10 #if 'jobs' not in SYS_ARGS else SYS_ARGS['jobs'] + _info = json.loads(open (SYS_ARGS['config']).read()) + for _config in _info : + _config['jobs'] = 10 if 'jobs' not in SYS_ARGS else SYS_ARGS['jobs'] etl = ETL (**_config) etl.start() \ No newline at end of file