From 1dd2cbed57eadde9ff23dacfb5388840898900d1 Mon Sep 17 00:00:00 2001 From: Date: Tue, 31 Oct 2017 18:02:26 +0300 Subject: [PATCH] Short fix for rstrip --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 8b9ff66..1f36102 100755 --- a/src/main.py +++ b/src/main.py @@ -54,10 +54,10 @@ class FleastServer(object): @cherrypy.expose def fleast(self, game=None, lang=None): - game = game.rstrip() if game is None or game == '': return self.index_page.format(_version_ = ver, _opt_langs_ = self.set_templ_lang('ru')) + game = game.rstrip() cherrypy.log('Getting game:"%s" language:%s' % (game, lang)) data = self.client.get_streams(game, lang)