title: TypeError: coercing to Unicode: need string or buffer, tuple found
body: <p>I'm trying to make my app run files with Unicode characters, but for this, you must decode before them. For this I am using ConfigObj.py. But when I run the app, get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
     File "GCW_Player.py", line 757, in &lt;module&gt;
       epMEDIA ()
     File "GCW_Player.py", line 89, in __ init__
       self.keyhandler (event.key)
     File "GCW_Player.py", line 133, in keyhandler
       if key == K_RIGHT: self.k_goto ()
     File "GCW_Player.py", line 211, in k_goto
       self.go_to ()
     File "GCW_Player.py", line 649, in go_to
       self.list.generate (self.sec_ftypes)
     File "/data/epm_core.py", line 114, in generate
       inp = os.listdir (self.path)
  TypeError: coercing to Unicode: need string or buffer, tuple found
  </code></pre>
  
  <p>Below, let the corresponding part file in the app:</p>
  
  <pre><code>    def generate(self, filetypes):
          self.data = []
          inp = os.listdir(self.path)
          inp.sort()
          for line in inp:
              file = File(os.path.join(self.path, line), filetypes)
              if file.type != None:
                  self.data.append(file)
  </code></pre>
  
  <p>Can anyone help me? I do not know what to do in this case. I've never experienced this situation. Thank you.</p>