|  | @@ -169,8 +169,9 @@ async def line_submit(request: Request):
 | 
											
												
													
														|  |      if result['userid']==None:
 |  |      if result['userid']==None:
 | 
											
												
													
														|  |          result['userid']="None"
 |  |          result['userid']="None"
 | 
											
												
													
														|  |      print(result)
 |  |      print(result)
 | 
											
												
													
														|  | 
 |  | +    db = dataset.connect('mysql://choozmo:pAssw0rd@db.ptt.cx:3306/hhh?charset=utf8mb4')
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    cursor=get_db().query('select * from step_questions where phone="'+phone+'" or email="'+email+'" ')
 |  | 
 | 
											
												
													
														|  | 
 |  | +    cursor=db.query('select * from step_questions where phone="'+phone+'" or email="'+email+'" ')
 | 
											
												
													
														|  |      cnt=0
 |  |      cnt=0
 | 
											
												
													
														|  |      for q in cursor:
 |  |      for q in cursor:
 | 
											
												
													
														|  |          cnt+=1
 |  |          cnt+=1
 |