From ee09073e2b65b2c413c432ab9b9f5ebaf72f12fc Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 15 Aug 2023 02:06:24 +0100 Subject: [PATCH] Fix log issue --- twExtract/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twExtract/__init__.py b/twExtract/__init__.py index cdd0c91..90ef98b 100644 --- a/twExtract/__init__.py +++ b/twExtract/__init__.py @@ -119,7 +119,7 @@ def extractStatusV2(url): raise twExtractError.TwExtractError(400, "Extract error (no tokens defined)") # get tweet tokens = config["config"]["workaroundTokens"].split(",") - print("Number of tokens: "+str(len(tokens))) + print("Number of tokens used: "+str(len(usedTokens))) tokens = [i for i in tokens if i not in usedTokens] if len(tokens) == 0: tokens = config["config"]["workaroundTokens"].split(",")