Commit d6210f98 authored by Alexandre Boyer's avatar Alexandre Boyer
Browse files

fix bug in actev status

parent fc9e0621
Pipeline #125030 passed with stage
in 40 seconds
......@@ -34,7 +34,7 @@ class StatusFactory():
json_command_states[command.command].append({'status': status, 'id': json_command_states['id'], 'args': args})
except:
logging.warning("Status monitoring improperly terminated: status reset")
os.remove(states_filename)
os.remove(command_states_log)
if not os.path.isfile(command_states_log) or os.stat(command_states_log).st_size == 0:
StatusFactory.generate_file(command_states_log, public_subcommands, json_command_states)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment