From edce76e76b9c75a13ee37c8eead529a91ee795b8 Mon Sep 17 00:00:00 2001 From: rdavydov <15850461+rdavydov@users.noreply.github.com> Date: Wed, 16 Nov 2022 06:03:28 +0300 Subject: [PATCH] fix undefined name 'JsonType' --- TwitchChannelPointsMiner/classes/Twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchChannelPointsMiner/classes/Twitch.py b/TwitchChannelPointsMiner/classes/Twitch.py index 8bae80f..745fda9 100644 --- a/TwitchChannelPointsMiner/classes/Twitch.py +++ b/TwitchChannelPointsMiner/classes/Twitch.py @@ -326,7 +326,7 @@ class Twitch(object): #raise MinerException("Unable to parse the integrity token") logger.info("Unable to parse the integrity token. Don't worry.") return - decoded_header: JsonType = json.loads(match.group(1)) + decoded_header = json.loads(match.group(1)) #logger.info(f"decoded_header: {decoded_header}") if decoded_header.get("is_bad_bot", "false") != "false": return True