diff --git a/recipes/history_today.recipe b/recipes/history_today.recipe index e536682f35..f0140f9935 100644 --- a/recipes/history_today.recipe +++ b/recipes/history_today.recipe @@ -29,7 +29,7 @@ class HistoryToday(BasicNewsRecipe): br['pass'] = self.password res = br.submit() raw = res.read() - if 'Session limit exceeded' in raw: + if b'Session limit exceeded' in raw: br.select_form(nr=1) control = br.find_control('sid').items[1] sid = []