comparison 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
comparison
equal deleted inserted replaced
693:1d60fa4d25a4 694:82123705474b
203 self.filename = filename 203 self.filename = filename
204 self.title = title 204 self.title = title
205 self.artist = artist 205 self.artist = artist
206 self.album = album 206 self.album = album
207 self.played = False 207 self.played = False
208 self.setSrc("radiocol/%s" % html_tools.html_sanitize(filename)) 208 self.setSrc(u"radiocol/%s" % html_tools.html_sanitize(filename))
209 log.debug("preloading %s in %s" % (title, self._id)) 209 log.debug(u"preloading %s in %s" % (title, self._id))
210 210
211 def play(self, play=True): 211 def play(self, play=True):
212 """Play or pause the song 212 """Play or pause the song
213 @param play: set to True to play or to False to pause 213 @param play: set to True to play or to False to pause
214 """ 214 """