From 22914029e82b0470dfd0ae42047f9001f6d51b5e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 3 Jan 2023 19:43:34 +0530 Subject: [PATCH] ... --- recipes/history_today.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []