Commit 09d1803e by sikang

bug fix

parent b01f3fe5
......@@ -21,7 +21,7 @@ with open(path, "w") as f_w:
elif "harvest_ip=" in line:
harvester=gateway['harvester'][0].split(":")
line = "harvest_ip=\"%s\"\n"%(harvester[0]+harvester[1])
line = "harvest_ip=\"%s:%s\"\n"%(harvester[0],harvester[1])
elif "harvest_port=" in line:
line = "harvest_port=%s\n"%(gateway['harvester'][0].split(":")[2])
......
Markdown is supported
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