diff --git a/reportservice/report_service.py b/reportservice/report_service.py index ae3f1a4fa45fcd11f7f75c4e5ea84ee8f82c7eb0..f922ab66956217882fc355ee639350af817384ef 100644 --- a/reportservice/report_service.py +++ b/reportservice/report_service.py @@ -283,15 +283,17 @@ async def server_runner(conf_file, jobs_timeout): asyncio.ensure_future( push_figures(cfg['GLOBAL']['git']['repo-local'], all_new_files)) + try: + # TODO:delete out-folder + # asyncio.ensure_future(del_folder(out_folder)) + except: + logging.error(str(e)) logging.info('All done') + return - try: - # Delete out-folder - del_folder(out_folder) - except: - logging.error(str(e)) + try: asyncio.ensure_future(do_action(copy.copy(req_cfg), jobs_timeout)) except Exception as e: # actions that fail are only error logged