fix multiple tokens warning
This commit is contained in:
parent
8737ca16f3
commit
3e3e7c376a
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ def main() -> None:
|
||||||
|
|
||||||
if len(ids) > 1:
|
if len(ids) > 1:
|
||||||
logger.warning(f'Multiple "{token}" tokens found, choosing ID {ids[0]}, use --special-token-by-id if you want another:')
|
logger.warning(f'Multiple "{token}" tokens found, choosing ID {ids[0]}, use --special-token-by-id if you want another:')
|
||||||
logger.warning(', '.join(ids))
|
logger.warning(', '.join(str(i) for i in ids))
|
||||||
|
|
||||||
for name, id_string in args.special_token_by_id or []:
|
for name, id_string in args.special_token_by_id or []:
|
||||||
if name not in token_names:
|
if name not in token_names:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue