title: Python string indices must be integers not str
body: <p>This is my code:</p>
  
  <pre><code>dbcur.execute('select girismuzik from users where name = ?', [username])
  rrf = dbcur.fetchone()
  girismuzik = rrf
  self.sendData("\x1A" + "\x0C" [girismuzik])
  </code></pre>
  
  <p>But this is error:</p>
  
  <pre><code>string indices must be integers not str
  </code></pre>