diff --git a/code/scripts/main/api/v1/api.py b/code/scripts/main/api/v1/api.py index d5a42c5..a9f7bb4 100644 --- a/code/scripts/main/api/v1/api.py +++ b/code/scripts/main/api/v1/api.py @@ -164,8 +164,8 @@ class Instance: for nodeid, count in sorted_nodes.items(): """ GENERATE UNIQ COMMAND ID """ randtext = ''.join(random.choice('AZERTYUIOPQSDFGHJKLMWXCVBN') for i in range(8)) - command_id = "Please, do not change or delete this ID \n" \ - "id={0}_{1}".format(time.time(), randtext) + command_id = "-- Please, do not change or delete this ID -- \n" \ + "id=\"{0}_{1}\"\n------------------\n".format(time.time(), randtext) """ Find information by id mongodb""" realnode = core.generalsearch('{ "_id": {id} }'.format(id=nodeid))