Commits

Vladimir Kolev committed 15b96a5

Fixed the Pango Warning with non-UTF-8 characters when downloading

  • Participants
  • Parent commits 7998803

Comments (0)

Files changed (1)

File lib/tfuncs.py

         self.speed = _speed
         self._stop = threading.Event()
 
-        self.iter = self.win.downloads.append([os.path.basename(self.filename), self.songid, 0, "", self])
+        self.iter = self.win.downloads.append([unicode(os.path.basename(self.filename), errors = 'replace'),
+                                               self.songid, 0, "", self])
         self.win.update_downloads_count()
 
     def run(self):