Commit ecd14d42 by sikang

update script

parent 66292387
......@@ -22,6 +22,8 @@ def setAdress(line):
line = ""
if "${phone_num}" in line:
if len(sys.argv[3]) > 0:
phones = sys.argv[3].split("&&")
ph = phones[random.randint(0,len(phones)-1)]
line = line.replace("${phone_num}", sys.argv[3])
else:
line = ""
......
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