Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. self.cursor.execute("""UPDATE files SET thumbnailPath=%s, updated_at=%s WHERE id=%s""",
  2. (thumbnailPath, timestamp, fileID))
  3.  
  4. thumbnailPath = "/1/21/2921"
  5. timestamp = datetime.datetime(2012, 9, 5, 12, 57, 42)
  6. fileID = 1654
  7.  
  8. WHERE id='%s'
  9.  
  10. WHERE id=%d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement