From ad7c489a79d3d1e1116f1ee930f9cb4afdc8589b Mon Sep 17 00:00:00 2001 From: alexvanin Date: Sun, 25 Nov 2018 14:55:33 +0300 Subject: [PATCH] Fixed bug when game names with & could not be correctly found --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ca1ccd7..b0755c8 100755 --- a/main.py +++ b/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
Tell me more at ' \