Fixed bug when game names with & could not be correctly found
This commit is contained in:
parent
bd73f22c75
commit
ad7c489a79
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -65,7 +65,7 @@ class FleastServer(object):
|
|||
_opt_langs_=self.set_templ_lang('ru'))
|
||||
game = game.rstrip()
|
||||
cherrypy.log('Getting game:"{}" language:{}'.format(game, lang))
|
||||
data = self.client.get_live_streams(game, lang)
|
||||
data = self.client.get_live_streams(game.replace(' ', '%20').replace('&', '%26'), lang)
|
||||
|
||||
if data is None:
|
||||
return 'Internal Error<br>Tell me more at ' \
|
||||
|
|
Loading…
Reference in a new issue