fix sql query
This commit is contained in:
		
							parent
							
								
									158231493a
								
							
						
					
					
						commit
						4bfd971415
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -750,6 +750,6 @@ class Logger:
 | 
			
		|||
		data = string.getvalue()
 | 
			
		||||
		sql = '''
 | 
			
		||||
			INSERT INTO caps_cache ( node, ver, ext, data )
 | 
			
		||||
			VALUES (?, ?, ?, ?);
 | 
			
		||||
			''', (node, ver, ext, buffer(data)) # (1) -- note above
 | 
			
		||||
			VALUES (%s, %s, %s, %s);
 | 
			
		||||
			''' % (node, ver, ext, buffer(data)) # (1) -- note above
 | 
			
		||||
		self.simple_commit(sql)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue