Fix log issue

This commit is contained in:
Dylan 2023-08-15 02:06:24 +01:00
parent d24903e383
commit ee09073e2b

View File

@ -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(",")