From 176ad16b0448691892eee073743ed9596f1e10a8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 28 Mar 2021 22:28:42 +0530 Subject: [PATCH] Fix py3 compat issue in irish times --- recipes/irish_times.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/irish_times.recipe b/recipes/irish_times.recipe index 519c676a85..4f3d519c28 100644 --- a/recipes/irish_times.recipe +++ b/recipes/irish_times.recipe @@ -70,7 +70,7 @@ class IrishTimes(BasicNewsRecipe): raw = r.read() data = json.loads(raw) # print(data) - if r.code != 200 or 'user_id' not in raw: + if r.code != 200 or b'user_id' not in raw: raise ValueError('Failed to log in check username/password') # Set cookie