Skip to content
Snippets Groups Projects
Commit 7915abf7 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

del_outfolder

parent be26b036
No related branches found
No related tags found
1 merge request!93feat/reportservice
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment