|  | @@ -1,5 +1,7 @@
 | 
											
												
													
														|  |  from _clickjob import *
 |  |  from _clickjob import *
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +custlist = ["The Icons_EN", "The Icons_ZH"]
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  db = dataset.connect('mysql://choozmo:pAssw0rd@db.ptt.cx:3306/seo?charset=utf8mb4')
 |  |  db = dataset.connect('mysql://choozmo:pAssw0rd@db.ptt.cx:3306/seo?charset=utf8mb4')
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  def reset(cust):
 |  |  def reset(cust):
 | 
											
										
											
												
													
														|  | @@ -21,7 +23,7 @@ runcount=0
 | 
											
												
													
														|  |  while True:
 |  |  while True:
 | 
											
												
													
														|  |      try:
 |  |      try:
 | 
											
												
													
														|  |          data=[]
 |  |          data=[]
 | 
											
												
													
														|  | -        cust = ["The Icons_EN", "The Icons_ZH"]
 |  | 
 | 
											
												
													
														|  | 
 |  | +        cust = custlist
 | 
											
												
													
														|  |          print("Gathering data...")
 |  |          print("Gathering data...")
 | 
											
												
													
														|  |          for c in cust:
 |  |          for c in cust:
 | 
											
												
													
														|  |              data.append(reset(c))
 |  |              data.append(reset(c))
 |