diff src/browser/sat_browser/game_radiocol.py @ 694:82123705474b

massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
author souliane <souliane@mailoo.org>
date Thu, 16 Apr 2015 14:57:02 +0200
parents 7a9c7b9f6a28
children f8a7a046ff9c
line wrap: on
line diff
--- a/src/browser/sat_browser/game_radiocol.py	Thu Apr 16 13:29:26 2015 +0200
+++ b/src/browser/sat_browser/game_radiocol.py	Thu Apr 16 14:57:02 2015 +0200
@@ -205,8 +205,8 @@
         self.artist = artist
         self.album = album
         self.played = False
-        self.setSrc("radiocol/%s" % html_tools.html_sanitize(filename))
-        log.debug("preloading %s in %s" % (title, self._id))
+        self.setSrc(u"radiocol/%s" % html_tools.html_sanitize(filename))
+        log.debug(u"preloading %s in %s" % (title, self._id))
 
     def play(self, play=True):
         """Play or pause the song