title: sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 5 supplied
body: <p>I can not for the life of me figure why this is failing, ugly code I know but I just need to put it out for a school project.</p>
  
  <pre><code>def changeusername(self,i):
      user="self.user=self.username"+str(i)+".get()"
      exec(user)
      print(self.user)
      record1=list(c.execute("SELECT * FROM logins WHERE usernames=(?)",(self.user)))
      print(record1)
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>line 428, in changeusername
  record1=list(c.execute("SELECT * FROM logins WHERE usernames=(?)",(self.user)))
  sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 5 supplied.
  </code></pre>
  
  <p>I have probably missed something really simple but hey :P</p>
  
  <p>EDIT: It seems to work for my single char usernames but it fails when I try the ADMIN username hence the 5 bindings</p>